Ask your own question, for FREE!
Computer Science 25 Online
OpenStudy (anonymous):

Write a program that adds a check letter to an eight-digit number. The check letter should be computed as follows: Break the number up into 4 two-digit numbers. Add the four numbers together. Find the remainder after division by 26. The check letter is the letter in the alphabet that corresponds to the number just computed. (A=0, B=1, C=2, etc.) Use at least one function that returns a value when you write this program. this is what i have so far #include using namespace std; int main() { int temp, original; int first, second, third, fourth; cout<<"enter an 6 di

OpenStudy (anonymous):

#include<iostream> using namespace std; int main() { int temp, original; int first, second, third, fourth; cout<<"enter an 6 digit number"<<endl; cin>>original; temp=original/10000; first=original%10000; second=original%100; third=temp%1000; cout<<"the first number is "<<temp<<endl; cout<<"the second number is "<<first<<endl; cout<<"the third number is "<<second<<endl; return 0; }

OpenStudy (nick67):

|dw:1347911353426:dw|

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!