Different Types Of Programming Structure, Formulas and forms for Maintenance Engineering. Bahria University
Shehryar-Khan467
Shehryar-Khan467

Different Types Of Programming Structure, Formulas and forms for Maintenance Engineering. Bahria University

1 page
1Number of download
51Number of visits
Description
Different Types Of Programming Structure
20 points
Download points needed to download
this document
Download the document
Preview1 page / 1
Download the document

#include <iostream>

using namespace std;

int main()

{

float s1;

float s2;

float avg;

cout << "enter the marks of first subject";

cin >> s1;

cout << "enter the marks of second subject";

cin >> s2;

avg = (s1 + s2) / 2;

cout << "the average is";

cout << avg;

}

no comments were posted
Download the document