You are required to write an Assembly program that asks the user to input a string with at least 10 characters. Then, your program should ask the user to select one of the following options: 1. Convert all the characters to lower case. In this case the user should click “s”. 2. Convert all the characters to upper case. In this case the user should click “a”. 3. Print the string in the center of the page. In this case, the user should click “c”. 4. Print the string in the upper left corner of the page. In this case, the user should click “ul” 5. Print the string in the upper right corner of the page. In this case, the user should click “ur” 6. Print the string in the lower left corner of the page. In this case, the user should click “ll” 7. Print the string in the lower right corner of the page. In this case, the user should click “lr” 8. Replace all the numeric values in the string with X. In this case, the user should click “x”. 9. Terminate the program. In this case the user should click “ESC”
السؤال
ندى اشتية
You are required to write an Assembly program that asks the user to input a string with at least 10 characters. Then, your program should ask the user to select one of the following options: 1. Convert all the characters to lower case. In this case the user should click “s”. 2. Convert all the characters to upper case. In this case the user should click “a”. 3. Print the string in the center of the page. In this case, the user should click “c”. 4. Print the string in the upper left corner of the page. In this case, the user should click “ul” 5. Print the string in the upper right corner of the page. In this case, the user should click “ur” 6. Print the string in the lower left corner of the page. In this case, the user should click “ll” 7. Print the string in the lower right corner of the page. In this case, the user should click “lr” 8. Replace all the numeric values in the string with X. In this case, the user should click “x”. 9. Terminate the program. In this case the user should click “ESC”
0 أجوبة على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.