How to make a variable define how many times will I have to repeat an entry? C

Asked

Viewed 61 times

1

The first input line contains an integer value N that indicates the various test cases that follow. Each test case contains an integer Amount (1 Amount 15) representing the amount of guinea pigs used and a Type character ('C', 'R' or’S'), indicating the type of guinea pig (R:Mouse S:Frog C:Rabbit).... How to make this integer value N define the number of inputs (experiments) I will have to enter?

  • Ever tried a noose for?

  • No, and I don’t quite know how I would do, I’m new in programming, has how to exemplify the formatting in this specific case?

  • To better understand the operation of Stackoverflow read: Tour, How to ask, Manual on how NOT to ask questions and Help center.

  • Welcome to Stack Overflow! Your question seems to have some problems and your experience here in Stack Overflow may not be the best because of this. We want you to do well here and get what you want, but for that we need you to do your part. Here are some guidelines that will help you: Stack Overflow Survival Guide in English.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.