Question: #include using namespace std; int main() { const int size = 20; int cardnum[size]; int n,i; int count=0; for ( i = 0; i {

#include

using namespace std;

int main()

{

const int size = 20;

int cardnum[size];

int n,i;

int count=0;

for ( i = 0; i

{

count = i;

cin >> n;

if (n == -1)//stop by entre -1

break;

cardnum[i]=n;

count++;

}

}

how to print out the input like the picture in c++ #include using namespace std; int main() { const int size = 20;

7 9 9 2 7 3 9 87 1 3 Credit card number is 79927398713

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!