Use both pseudocode and flowcharts to solve the problems below:
1. Write a program that converts a user-entered Fahrenheit temperature to equivalent Celsius temperature. Use the formula c = (5 / 9) * (f - 32) where c is representing a Celsius temperature and f a Fahreinheit temperature.
2. A program is required that will read two operands and print the product to a file.
3. A program will ask the user to enter his/her name. Upon entering the name James the program displays: Hello James! Welcome to ICG511S!
4. Convert Namibian Dollars to British Pounds given that 1 British Pound is equal to 19.75 Namibian Dollars.
5. In order to determine the selling price of items in a shop, a value added tax (VAT) of 15% is added to the cost price. After that a profit is the added to the result of adding VAT. Determine the selling price.
6. For one to withdraw money at an ATM using FNB’s cellphone banking, a cellphone number and a correct pin is first required before entering the amount to be withdrawn. Once that is successful, the ATM dispatches the money withdrawn and displays the remaining balance.
7. In order to look for a book in the library a student types in the title of the book before a computer searches it. If the book is available, the computer displays the shelf number where the book lies, otherwise it will display a message that the book is not available. 8. When buying a grocery item in a shop the cashier scans the item for the barcode. The computer then uses the barcode to search for the grocery item name and price. Once found, th
e cashier will enter the quantity of that grocery item that is being purchased. The computer then calculates the total cost of the items that has to be paid by the customer. This is not all, the cashier will then punch in the total notes from the customer so that the computer displays the change and generated a receipt.
9. A Honda Fit uses 1 litre of petrol for every 10 kilometres when traveling at 120 kilometres per hour. The faster the car the less distance it covers and vice versa. A program is required that uses the speed of the Honda Fit to determine how many kilometres it travel per litre.
Do like and comment if you have any queries
Note:
As per Chegg answering guidelines, I am not allowed to answer Single question when multiple questions are posted, please do post others as a different question.
Pseudocode:
BEGIN
PROMPT the user
for F
GET F
C = 5/9 * (F -
32)
DISPLAY C
END
Flowchart:
Start Read F C = 5/9 * (f-32) Print C Stop
Use both pseudocode and flowcharts to solve the problems below: 1. Write a program that converts...
Develop a functional flowchart and then write a C++ program to solve the following problem. 1. Create a text file named c1.txt and write your brand of computer (like Dell, HP, etc) in the file. You will be reading the name of the file from the keyboard as a string, using the string class. Your program will also read the brand of your computer from the keyboard. The process of the file creation (name of the file, mode for opening...
Use program control statements in the following exercises: Question 1 . Write pseudocode for the following: • Input a time in seconds. • Convert this time to hours, minutes, and seconds and print the result as shown in the following example: 2 300 seconds converts to 0 hours, 38 minutes, 20 seconds. Question 2. The voting for a company chairperson is recorded by entering the numbers 1 to 5 at the keyboard, depending on which of the five candidates secured...
JAVA i need write java program Object Classes: designing Shopping Cart 1.Shopping Cart , build a checkout system for a shop which sells items (i.e., products say Bread, Milk, and Bananas). A shopping cart that can have multiples. Costs of the products are : Bread - $1, Milk - $0.60 and Banana - $0.40. A system should displays the order total. 2.The heart of a shopping cart can be represented in three classes: a cart class an order class, and...
Lab Objectives Be able to write methods Be able to call methods Be able to declare arrays Be able to fill an array using a loop Be able to access and process data in an array Introduction Methods are commonly used to break a problem down into small manageable pieces. A large task can be broken down into smaller tasks (methods) that contain the details of how to complete that small task. The larger problem is then solved by implementing...