Home
Email
Hosting-account
Email-addresses
Client-configuration
Express
Outlook
> How do you write a program in C++ that prints out asterisks for every student that has a certain grade?
Top concern
How to repeat a line of code in Java? Best answer 5 stars?
What is Random.org ??
How to read each integer from a string one integer at a time and store it in an array?
Can i move my font file to a new computer?
Is It Wise To Learn Java And C++ at The Same Time ?
I wanna start 3D modeling, how should i start?
How to write a program in C# or java of spiral without using array?
What is Random.org ??
Websites to learn programming language C?
String without using cin.getline or without any other fuction or header file!!!!!!!!?
Why is my code incorrect?
In borderlands 2 does each character have its own story for example is zero's single player different than Maya'
Creating a multivendor ecommerce site, but not sure which platform to use?
What is Error 14?
Cannot get web pages?
How do you write a program in C++ that prints out asterisks for every student that has a certain grade?
How do you write a program in C++ that prints out asterisks for every student that has a certain grade?
Posted at:
2014-12-18
A simple solution. A for loop will work allowing you to print an asterisk for each count.
printf("B ");
for(int count = 0; count < students_with_b; count++)
{
printf("* ");
}
printf("\n");
Previous:
How do i show the current date in javascript?
Next:
Problemas com Web Design?