Write a program that accepts three decimal numbers as input and outputs their sums?
1 answer:
Answer:
The answer to this question is given below in the explanation section
Explanation:
The code is written in C++ language:
// Example program
#include <iostream>
#include <string>
using namespace std;
int main()
{
double number [3];
double addition=0;
for (int i=0;i<3;i++)
{
cout<<"Enter decimal number at position " <<i+1< " ";
cin>>number[i];
addition= addition+ number[i];
}
cout<<"The addition is "<<addition;
}
You might be interested in
64 bit the likely hood of it failing is much less
Answer:
Below is the code ...hope it meet the requirements
lda 0, i
adda 6, i
suba 3, i
adda 2, i
STA 0x0010 ,d
CHARO 0x0010 ,d
.end
Explanation:
A ribbon is somehing ou earn
Im pretty sure that is false
Answer:
Gutair
Violen
cello
Double Brass
Harp
Explanation: