use switch code..
refer to this.. a simple calendar
public class MyCalendar
{
private final int newYear1901=2;//Jan. 1, 1901, Tue(2)
private int month;
private int year;
Type: Posts; User: asdfg
use switch code..
refer to this.. a simple calendar
public class MyCalendar
{
private final int newYear1901=2;//Jan. 1, 1901, Tue(2)
private int month;
private int year;
@sanz:
you're right..it's like C progmramming...
@cppcppcppcpp
change the System.out.println("The area of circle is " + area + ".");
to:
System.out.printf("The area of cirle is %.2f" , area);
@Brt93yoda
an elaboration to what sanz problem...
The problem to what sanz's code is that
the display button works, but the days weren't in the proper place.. It skips(leaves blank) in the...
the problem here is, i don't know the functions of these buttons MR, MS, MC, M+ :((
@Norm
yes your right!!..i want to add the MC,MR, MS and M+ with their functions in like the standard calculator :)
i hope you could help me wit\h this... :)
thanks for replying anyways...
Hi I'm new to this lesson about GUI, I would like to ask for your help if you can... I don't know how to put the MC, MR, MS and M+ in my calculator, so that it would look like the standard...
hi!
is there anyone else who can correct my codes?
i know this is wrong :(
here's the problem: Write a class called slectionSort
this would allow the user to input ten string names (e.g adal,...
thanks so much :) this is a great help :)
output would be:
if the user enter: anne, annie, ann
then it will display:
ann
anne
annie
thanks.. already solved :)
Here's the program: Write a class Sort. that allows you to input three string names and output at ascending order...
here's my code...i dont know what's wrong with this..please help me guys..im just...
hi good evening.
I have a problem upon compiling with my codes.this is for the game rock, paper and scissors..the problem is: Write a program that will allow user to input character: r-rock/...
Its because the number used is an integer dataType...and not the double type..so if you add, subtract, multiply and divide the integer, the result is also an integer and not double.... so in that...