How can I code that in every number I enter there will be "^". | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I code that in every number I enter there will be "^".

its a for loop in java. for example If you enter number 2 the output would be 1 ^2 3 4 5. can you help me plss?

15th Oct 2019, 10:47 PM
Velmond Duran
Velmond Duran - avatar
7 Answers
+ 1
Only after 1 or all numbers? would the numbers be all in the first input and would the ^ be used as a math functuon or just output it
15th Oct 2019, 10:52 PM
Odyel
Odyel - avatar
+ 1
if what number you enter this "^" will also appear.. just to output... can you help me?
15th Oct 2019, 10:55 PM
Velmond Duran
Velmond Duran - avatar
+ 1
Any specific number? or is it decided by the user/you
15th Oct 2019, 10:57 PM
Odyel
Odyel - avatar
+ 1
user input
15th Oct 2019, 10:58 PM
Velmond Duran
Velmond Duran - avatar
+ 1
I think you dont understand me but thank you
15th Oct 2019, 11:17 PM
Velmond Duran
Velmond Duran - avatar