What's the answer guys? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's the answer guys?

Device a computer solution that reads in a positive integer n and then prints the sum of the first n even integers and the sum of the first n odd numbers .

20th Jun 2022, 2:52 PM
Samuel Johnson
Samuel Johnson - avatar
4 Answers
+ 2
Samuel Johnson , the task is clear, but we would like to see youf code. please link the code from playground here.
20th Jun 2022, 2:56 PM
Lothar
Lothar - avatar
+ 1
Where is attempts?
20th Jun 2022, 2:55 PM
A͢J
A͢J - avatar
+ 1
Samuel Johnson , what is your issue? - programming language ? - buiding the logig of a code ?
20th Jun 2022, 6:25 PM
Lothar
Lothar - avatar
0
I had no understanding guys.
20th Jun 2022, 3:00 PM
Samuel Johnson
Samuel Johnson - avatar