Write a C++ program to read age of 15 people and count total Baby age, School age and Adult age.

codeboks
1 min readJul 18, 2020

--

Object: Write a C++ program to read age of 15 people and count total Baby age, School age and Adult age.

Code:

#include<iostream>
#include<conio.h>

using namespace std;
void main()
{
int age, baby=0, school=0, adult=0, i=1;
while(i<=15)… continue or more information…

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

codeboks
codeboks

Written by codeboks

Your favorite source for all things Coding.

No responses yet

Write a response