User Profile
Collapse
-
I know but I am confused on how the function is set up. What do I put in all those fields? -
Structures
I need to build a structured program that has to deal with pizza size, pounds of cheese, and price of the pizza in C++. I haven't got far because instead of the program actually having the defined variables the user has to put their own variables in.
struct pizza { //declare a structure
int size; //size of the pizza in inches
int cheeseAmount; //amount of cheese in pounds
float price; //price of the... -
Wattage
When determining wattage and there is a decimal in the ending calculation for the wattage, do you round up to the nearest whole number? -
The specifications
Dealing wih numbers.
First loop: A for loop and should count up from 1 to 4.
Second loop: A while loop and should caount from 4 to 1.
Third loop: A do...while loop and should count up from 1 to 4 in increments of 2.
The second part deals with automating the guessing and high/low decision. No user input required.
I basically just need help on setting it up.Leave a comment:
-
How do I get started in making a guessing game?
In C++ I have to create a guessing game that has three loops and and I have to make a flowchart. Now mind you I am a beginner at all of this. Someone help! -
Rounding
I have to round to 0 decimal digits, up to the nearest whole number.Leave a comment:
-
In C++
In C++, I know the basic set up but the rest like the math part of it and what characters to use throws me off.Leave a comment:
-
Rounding form a float to an int in C++
I have to set up a program that has the user enter the miles they traveled, the hours it took and then, the output has to give them the mph and round it. How do I get started?
No activity results to display
Show More
Leave a comment: