Computer Science, asked by gurpalentkaran4592, 7 months ago

Write a C++ program to find average age of 2 persons.

Answers

Answered by Anonymous
0

I HOPE it will help you

PLEASE MARK ME AS BRILLIANT and ALSO GIVE ME THANKS

Attachments:
Answered by kaurmanveer
0

Answer:

#include <iostream>

using namespace std;

int main()

{

 int a = 56, b=28;

 float c =(a+b)/2;

 cout<<"avg of two person is"<<c<<endl;

return 0;

}

Explanation:

Similar questions