Because both statements are fulfilled at the same time | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Because both statements are fulfilled at the same time

include <iostream>        using namespace std;     int main (){     float n,n1,n2,n3,division;            cout<<"ingrese nota uno :";cin>>n;cout<<endl;                 cout<<"ingrese nota dos :";cin>>n1;cout<<endl;            cout<<"ingrese nota tres :";cin>>n2;cout<<endl;    cout<<"ingrese nota cuatro :";cin>>n3;cout<<endl;                  division=(n+n1+n2+n3)/4;                if(division>=3.5) {          cout<<endl;         cout<<"Aprobaste tu promedio es:"<<division; }         else  {

10th Aug 2020, 3:19 PM
Michel Saenz
1 Answer
10th Aug 2020, 4:46 PM
Jayakrishna 🇮🇳