Computer Science, asked by bc7511797, 20 hours ago

Write a program in c++ to print all the 3 digit numbers.​

Answers

Answered by saipraneet752
0

Answer:

Below program takes 3 integers as input and prints each integer in each line.

1) #include<bits/stdc++.h>

2) using namespace std;

3) int main(){

4) int a[3];

5) for(int i=0;i<3;i++)

6) cin>>a[i];

7) for(int i=0;i<3;i++)

8) cout<<a[i]<<endl;

Explanation:

Similar questions