subject

You must write a c program that prompts the user for two numbers (no command line input) and multiplies them together using "a la russe" multiplication. the program must display your banner logo as part of a prompt to the user. the valid range of values is 0 to 6000. you may assume that the user will always enter numerical decimal format values. your program should check this numerical range (including checking for negative numbers) and reprompt the user for correct input if necessary. the program must require the user to enter a specific character to exit the program and return back to the terminal prompt. the program should print the result in decimal format and binary format. the binary output should use the least number of bits to display the number in multiples of 8 bits. i. e., anything less than 256 should display as 8 bits, anything less than 64k should use 16 bits, etc. the value 6000 times 6000 should need 32 bits

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:30
Write a function processpeople() that takes the name of a file as a parameter. each line of the file corresponds to information about a person. in particular a line contains either a name (in the form lastname,firstname with no spaces in it) or a name (lastname,firstname) and a year. the function will process the file, creating a person object for each line in the file. the function will print information about each line as it processes it, as well as appending the new person object into a list. make sure to use person methods to display information rather than recreating the work you did for the first problem. once the entire file has been processed, the function returns the list of person objects created from the file. if the file is empty, the function should return an empty list. if the input file cannot be opened, the function should print a message to that effect and then return an empty list. the following shows what would be displayed for two example files which have been provided in the link. the file none.txt does not exist. note that your function must work on an arbitrary file that consists of valid lines. you cannot assume anything about the file except that it contains lines that have the format described above.
Answers: 2
question
Computers and Technology, 22.06.2019 08:10
Technician a says that if a valve is open when a piston rises to the very top of a cylinder, the piston may actually strike the valve head and cause serious engine damage. technician b says if the camshaft is located in the engine block, then the engine is called an overhead valve engine, ohv engine, or an in-block camshaft. who is right? a. b only b. both a and b c. a only d. neither a nor b
Answers: 3
question
Computers and Technology, 23.06.2019 04:40
The narrative structure of the popular movies can be broken down into
Answers: 3
question
Computers and Technology, 23.06.2019 11:00
Sports and entertainment class, your goal is to increase attendance and make a profit for a game by getting your team on a winning track with total salaries less than $3,000,000
Answers: 3
You know the right answer?
You must write a c program that prompts the user for two numbers (no command line input) and multipl...
Questions
question
Mathematics, 13.09.2020 14:01
question
Mathematics, 13.09.2020 14:01
question
Health, 13.09.2020 14:01
question
English, 13.09.2020 14:01
question
Mathematics, 13.09.2020 14:01
question
Physics, 13.09.2020 14:01
question
Biology, 13.09.2020 14:01
question
Mathematics, 13.09.2020 14:01
question
Mathematics, 13.09.2020 14:01
question
Mathematics, 13.09.2020 14:01
question
Mathematics, 13.09.2020 14:01
question
Mathematics, 13.09.2020 14:01
question
Mathematics, 13.09.2020 14:01
question
Mathematics, 13.09.2020 14:01
question
Mathematics, 13.09.2020 14:01
question
English, 13.09.2020 14:01
question
Mathematics, 13.09.2020 14:01
question
Mathematics, 13.09.2020 14:01
question
Mathematics, 13.09.2020 14:01
question
Mathematics, 13.09.2020 14:01
Questions on the website: 13722361