Archive for the ‘C Programming’ Category

The Problem: Every great theme park has a signature roller coaster. In designing a roller coaster, we must decide how many trains of cars need to be placed on the track. It turns out that no more than 25% of the track can be occupied with these trains to adhere to safety regulations. Thus, if [...]

Question: Create a calorimeter to tell the “user” the pounds lost. It doesn’t ACTUALLY measure the number of calories you burn or the number of calories you ingest. Instead, it makes four assumptions:   1) When walking, you burn 5 calories/minute. 2) When standing in line, you burn 2 calorie/minute. 3) When you are consuming [...]

You will ask the user for the price of the item they are buying, the quantity of the item they are buying, and whether or not the item is a taxed item. The user’s input for the last question will be 0 if the item is NOT taxed, and 1 if it is taxed. The [...]


Bible Verse

Ads