Lecture 3 - كورسات

Lecture 3

يجب تسجيل الدخول أو التسجيل لتتمكّن من التعليق
feras
منذ 10 سنوات
شكرا لك شرح جميل استفيدت كثير
feras
منذ 10 سنوات
#include <iostream> using namespace std; int main() { float firstnum, seconednum ,thirdNum, add, subtract , devision, multiply; cout << "insert first /n" ; cin >>firstnum; cout << "insert seconde /n"; cin >>seconednum; cout << "insert thierd/n" ; cin >>thirdNum; add = firstnum+seconednum+thirdNum; subtract=firstnum-seconednum-thirdNum; devision=firstnum/seconednum/thirdNum; multiply=firstnum*seconednum*thirdNum; // the out put cout << "the total puls = " <<add<<endl; cout << "the total minus = " <<subtract<<endl; cout << "the total devision = " <<devision<<endl; cout << "the total multiply = " <<multiply<<endl; return 0; }
feras
منذ 10 سنوات
طيب كيف ارسالك عن طريق الايميل
karem magbul
منذ 10 سنوات
شكرا جزيلا لك الحمد لله على كل حال
yousef
منذ 10 سنوات
#include <iostream> using namespace std; int main () { //add , subtract , multiply , devision btween two number //input , processing , output //output ((sum,subtract,multiply,devision ) //processing ( sum,subtract,multiply,devision ) //input (( firstnumber , seconednumber , Thirdnumber )) //define varaibles float firstnum, seconednum, thirdnum, add, subtract, devision, multiply; //read input cout << " plz insert the first number \n "; cin>> firstnum; cout << " plz insert the seconed number \n "; cin>> seconednum; cout << " plz insert the third number \n "; cin>> thirdnum; //processing add = firstnum + seconednum + thirdnum ; subtract = firstnum - seconednum - thirdnum ; devision = firstnum / seconednum / thirdnum ; multiply = firstnum * seconednum * thirdnum ; //output cout << "the summation of three number = " << add << endl; cout << "the subtraction of three number = " << subtract << endl; cout << "the devision of three number = " << devision << endl; cout << "the multipliction of three number = " << multiply << endl; }
Anoslaham
منذ 10 سنوات
احب اسألك انو وين راحت return0اخر الفيديو
AhmedKhaled1980
منذ 10 سنوات
حقق شرح جميل جدا جدا واعتقدا انه لاسوف يصبح افضل لو شرحت معلومات الدرس فقط
mina shaker
منذ 9 سنوات
#include<iostream>
using namespace std ;
int main () {
float num1,num2,num3;
cout<<"insirt 1st number >> ";
cin>>num1;
cout<<"insirt 2nd number >> ";
cin>>num2;
cout<<"insirt 3rd number >> ";
cin>>num3;
cout<<"devision = "<<num1/num2/num3<<endl ;
cout<<"add = "<<num1+num2+num3<<endl ;
cout<<"subtnract = "<<num1-num2-num3 <<endl;
cout<<"multibly = "<<num1*num2*num3;
return 0 ;
}