Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  123123
Language: C/C++
Code:
#include <iostream>
using namespace std;

int main(void)
{

     double dnumber1 = 0.0;
     double dnumber2 = 0.0;
     double dnumber3 = 0.0;
     double daverage = 0.0;
     cout << "Shkruaj 3 numra: " << endl;
     cin >> dnumber1;
     cin >> dnumber2;
     cin >> dnumber3;
     
     daverage = (dnumber1 + dnumber2 + dnumber3) / 3;
     cout << "Mesatarja e numrave eshte: " << daverage << endl << endl;
     system("pause");
     return 0;
     
}
          
Comments: