Graded Assignment 1


Please follow the instructions properly as mentioned in the below two attached PDF files before attempting or submitting your assignment.

In case of any problems faced during submission, you can always post your query on Piazza Forum.


Link 1:   Introduction To Moodle Server and Assignment Questions


Link 2:   Adding Security Exceptions Configuration To Your Browser For Moodle

Input values using 'cin'

We can use cin to accept input ftom the standard input device such as keyboard.

Required include: <iostream>

Syntax: cin >> a;  (where a is a variable)

Example:

		#include 

		using namespace std;

		int main()
		{
			int n;
			
			// For single input
			cin >> n;
			
			// Output the entered value
			cout << n;

			return 0;
		}