Unformatted text preview: float viii. double Problem 2-4 [10 points each, 30 points total] Please complete problems 2, 4, 7 of Chapter 3, and include a printout of your code. Problem 5 [46 points] Write a program that prompts the user to enter an integer, and then converts that integer into its ASCII equivalent without using any of the standard string C libraries . Your code must use a case statement to lookup relevant ASCII values, and use a while loop to iterate through the digits. Please provide both the code and its printout. Problem 6 [Quiz 1 Extra Credit – 15 pts, maximum total points for Quiz 1 remains 20 pts] Extend Problem #5 to prompt a user for a decimal number and convert that into its ASCII equivalent. Score: _______ Extra credit towards Quiz 1: _______...
View Full Document
- Fall '09
- Software engineering, Long integer, Short integer, int unsigned int