1. The temperature of a city is obtained at a weather station in degrees centigrade. The job is to convert this temperature into its corresponding value in degrees Farenhiet. Assume the data type for the value of temperature to be 'double' and use the formula F=(9/5)*C+32. What is the input to the program? What is the output? Make a flowchart and write the pseudocode.

2.Calculate pay for part time employee. The regular hourly pay rate is $8. Employees would get time and a half pay for the first 5 hours over 40 and double time pay for all hours over 45. Write down the input, output and pseudocode logic for this problem.

3. A program prompts the user on the screen to enter a number below 100, then display a count on the screem, from 1 to the number entered by the user. For example, if a user enters 12, the screen displays 1 2 3 4 till 12. Write the input,output and pseudocode logic for this problem.

What code did you try? what couldn't you figure out?

If you can't figure it out now, get some sleep and think about it tomorrow. And then if you can't figure it out then, think about it the next day. This subject is hard; that's just the nature of the beast, and it can't be helped. Do you think Watson and Crick got the ability to solve the structure of the DNA molecule by asking for answers on all their previous problems?


1. A program prompts the user on the screen to enter a number below 100, then display a count on the screem, from 1 to the number entered by the user. For example, if a user enters 12, the screen displays 1 2 3 4 till 12. Write the input,output and pseudocode logic for this problem. what formula would u use for this? cant figure out at all

1. A program prompts the user on the screen to enter a number below 100, then display a count on the screem, from 1 to the number entered by the user. For example, if a user enters 12, the screen displays 1 2 3 4 till 12. Write the input,output and pseudocode logic for this problem. what formula would u use for this? cant figure out at all

1. A program prompts the user on the screen to enter a number below 100,

Here is your first chunk of potential psuedo code, including a clue as to which data type you need.

then display a count on the screem.

here's another bit of potential psuedo code

from 1 to the number entered by the user. For example, if a user enters 12, the screen displays 1 2 3 4 till 12. Write the input,output and pseudocode logic for this problem. what formula would u use for this? cant figure out at all

You should research Looping (also known as recursion) in your text book, or on google. C++ has 3 basic kinds of loops, one of which is suited perfectly to your problem. also, read up on the "increment" operator.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.