Header Ads

Computer Organization and Architecture chapter 6 Solution


                      Computer Organization and Architecture chapter 6 Solution 

 chapter 6 Solution

chapter 6 Solution

8. Write a program to display a "?", read two capital letters, and display them on the next line In alphabetical order.

                                                            Get Solution

 

 9.Write a program to display the extended ASCII characters (ASCJI codes 80h to FF_h). Display 10 characters per line, separated by blanks. Stop after the extended characters have been displayed once.

                                                             Get Solution

 

10.Write a program that will prompt the user to enter a hex digit character ("0"· ... "9" or "A" ... "F"), display it on the next line in decimal, and ask the user i.i he or she wants to do it again. If the user types "y" or "Y", the ·program repeats; If the user types anything else, the program terminates. If the user enters an illegal character, prompt the user to try again. 

                                                                     Get Solution

 

11. Do programming exercise 10, except that if the user fails to enter a hex-digit character In three tries, display a message and terminate the program  

 

                                                                  Get Solution

 

 

 

 

No comments

Powered by Blogger.