Apple

Status
Not open for further replies.

Reholegile

New member
Joined
Jul 12, 2019
Messages
1
Programming Experience
1-3
Write answer to problem below in C#, without compiling code.

Specification:

print the numbers from 1 to 100
for multiples of 3 print “Apple” instead of the number
for multiples of 5 print “Pear” instead of the number
for multiples of 3 and 5 print “ApplePear” instead of the number
 
Sorry, this site is not a homework service. If you make an attempt to do your own homework and encounter a specific issue in doing so, we'd be more than happy to help with that.
 
Status
Not open for further replies.
Back
Top Bottom