全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写Read carefully: Plagiarized assignment will get a ZERO. You cannot change the variable names of other
全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写student’s solution and submit it as yours. The program structure of other students must not match yours.
You are not allowed to collaborate with other students in solving this assignment. Every student has to
全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写come up with his/her own solution. If you have any questions, you must talk to the lab instructor. Any
cheating (e.g. copying from internet) is a serious violation of the University student code and will be dealt
with very seriously.
Instructions for submission: Add the following to your .c file: (1) your full name (2) Algorithm
(3) Comments are must and they should be brief.
全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写Problem 1 (10 points):
Write a program with a while loop to print 1 to N in square brackets. N is an integer input from
(i) Write the same program using a for-loop
全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写(ii) Write the same program that will display only the even numbers and odd numbers
全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写Example of Output (Expected output as well):
from 1 to N.