Entries by admin

Write a program that prompts the user to input an integer & then outputs both the individual digits of the number & the sum of the digits. For example, the program should: output the individual digits of 3456 as 3 4 5 6 & the sum as 18, output the individ

Write a program that prompts the user to input an integer & then outputs both the individual digits of the number & the sum of the digits. For example, the program should: output the individual digits of 3456 as 3 4 5 6 & the sum as 18, output the individual digits of 8030 as […]

Write a program that reads in a line consisting of the student’s name, Social Security number, user id, and password. The program outputs the string in which all of the digits of the Social Security number and all the characters in the password are re

Write a program that reads in a line consisting of the student’s name, Social Security number, user id, and password. The program outputs the string in which all of the digits of the Social Security number and all the characters in the password are replaced by x. The Social Security number is in the form […]