Skip to content

Add Input/Output. #1

@atarax665

Description

@atarax665

Add Sample Input/ Output for all the cases at the end of the program in commented form.

Example:

// A program to add two numbers a and b

#include<iostream>

int main()
{
int a, b;
cout << "Enter the numbers a and b :" << endl;
cin>>a>>b;
cout << a << " + " << b << " = " << a+b;
return 0;
}

/*
Sample I/O:

Input :
Enter the numbers a and b :
10 12
Output :
10 + 12 = 22
*/

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions