that just makes it constantly run.....it needs a value to know what to do
Type: Posts; User: whome
that just makes it constantly run.....it needs a value to know what to do
Getting there Norm.....now it just gives me one dollar sign ($) no matter what number I input
int number;
String symbol = "$";
for...
won't let me define it..... this is what I have so far, but its only giving me one dollar sign ($) no matter what number I enter
for (number = 1; number <= 5;)
{
System.out.print("Enter...
thats what I am doing.....it doesn't like the $ sign
Lab7_Ex1.java:16: error: cannot find symbol
for (number = 1; number>= 5; $++)
^
symbol: variable $
...
Just java right now....told you I was new :D
Lab7_Ex1.java:16: error: cannot find symbol
for (number = 1; number <= 5; $++)
^
symbol: variable $
location: class Lab7_Ex1
1 error
I don't think that'd work.....maybe i'm not explaining it correctly..... If the user enters 7 as the input, the output would be $$$$$$$. If the user enters 3 as the input, the output would be $$$....
Sorry....i'm pretty new to programming......example?
I don't need it to be $100....I would need 100 dollar signs..... as in the output would be. $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
lol
I am writing a program and trying to multiply with $ if thats even possible.
I am coding a program where the user enters a number, and the output is $$$ of the number entered. So if one is...