Please read the following instructions carefully before submitting assignment. It should be clear that your assignment will not get any credit if:
Note: You have to upload only .cpp file. Assignment in any other format (extension) will not be accepted and will be awarded with zero marks. For example, if you submit code in .doc (Word document) or .txt files or .exe file, no reward will be given in any case.
The objective of this assignment is to provide hands on experience of:
You are required to write a C++ program using loop and switch statement. The program should display even or odd numbers from 1 to 50 depending upon the option given by the user.
The program should prompt the user for one character option (either ‘e’, ‘E’ or ‘o’, ‘O’).
It should respond in the following ways:
Sample output of the program:
If user enters ‘e’ then it displays the even numbers from 1 to 50.
If user enters ‘E’ then it displays the even numbers from 1 to 50.
If user enters ‘o’ then it displays the odd numbers from 1 to 50.
If user enters ‘O’ then it displays the odd numbers from 1 to 50.
Muhammad Arshad brothr dwnload dev frm ur lms nd fr compilng c++ cod u dont ned any notepad.
jst submit ur fil in .cpp whch iz the extension of dev's filz.
so nice of you
cout "Enter your choice : ";
cout "Even numbers from 1 - 50 \n\n";
cout i " ";
these are still givig errors ...............
maha khan u uzed angle bracket wrong.
check the atached fil:
mein ne assignment submit kar de
which of the two files project or source require submit on lms