Jump to content
منتدى البحرين اليوم

.-.المواضيـــع المتعلقــة بمقررITCS101.-.


Recommended Posts

  • Replies 36
  • Created
  • Last Reply

Top Posters In This Topic

انا فاهمة كل التطبيقات اللي في جابتر ون وتو بس النظري بصراحة ولااا شي

 

مب عارفة شنو النظري اصلا فيه وااايد حجي يعني مب عارفة شنو اللي مهم من ها النظري

 

لان يوم جفت اختبار سابق حق المنتصف جفت ان فيه نظري وانصدمت بصراحة :ssm11:

 

يوم سالت الدكتور ماقال لي شي مهم :ssm11: يعني ما خذيت منه لا حق ولا باطل :ssm11:

 

ويشرح بسرعة بسرعة وما يعطينا تمارين حق التطبيقات :ssm11:

 

والله حدي منقرهة منه المادة مو سهلة المفروض يساعدنا :sad:

 

اسمه دكتور حسن كماال قالو زين بس بصراحة ما اجوف فيه اي شي زين :ssm11:

 

وان شاء الله تردين علي بسرعة لاني بصراحة حدي خايفة من السي اس :sad:

Link to comment
Share on other sites

حسن كمال؟؟

بالعكس خوش دكتور

هذا الدكتور احسن من غيره،يعطيج درجات بالهبل،،يعني حتى في كويزاته حتى لو ما كتبتي شي يعطيج خمس درجات بلاش

أحمدي ربج ان هالدكتور يدرسج

 

اما من ناحية النظري

هي عبارة عن برامج تكتبونها

بداية الجباتر سهله

وانا قلت لج لين في شي مو فاهمته

ما يردج الا اللشانج:)

موفقة خيتو

 

Link to comment
Share on other sites

  • 2 weeks later...

fبلييز ممكن تفهووني شسالفتهم

مشكله الدكتور ما يشرح

وما افهم شي

عندي اسايمنت وكويز ومب فاهمه شي

 

بليز ساعدووني

 

write aprogramme to caclate the property tax is calculated on 92% of the assessed value 1-of the property for example if the asseed value is 200,000$ the property tax rate is 1.05$for each100$ of the assessed value >

your programme shoud prompt the user to enter the assesssed value of the property store the output in a file the folowing format (here is the sample output )

assessed value 200000.00

tasxable amount :184000.00

tasx rate for each 100.00$: 1.05

property tax: 1932.00

formate your out put to have tow decimal place ( note that the left column is left _ justified and the right colume is right _justified )

 

 

 

the roots of the quadratic ax2+bx+c =0 are given by the folloing formula :2-

-b +or - b2-4ac over 2a

b2-4ac تحت الجذر

in the formula the term b2-4ac is called the dib2d***iminant if b2-4ac =0 then the equation has a single repeated root if b2-4ac <0 the equation has two complex root write a programe that prompts the user to input the value of a ( the coefficient of x2) ,b( the of coefficient of x ) , and c ( the constant term ) , and outputs the type of roots of the equation further more if b2-4ac> 0 the programe shoud output the root of the quadratic equation (hint: use the function pow from the header file cmath to calculate the square root

 

شكورين مقدماااا

Link to comment
Share on other sites

السلاام عليكم

شخباركم انا عندي اسايمنت و عجزت احله يمكن في احد منكم يعرف احله .. الدكتور عافس المقرر فوق تحت و احنا مثل المسبهين مو عارفين وش يقول و اللي يعرف يحل الاسايمنت لاا يبخل علي بالحل

 

 

Suppose that the file inData.txt contains the following data

56.4 38.1

7.5 3.2

 

X

 

Write a C++ program that read from the inData file the first two numbers, calculate and print the sum of them into outData.txt file. Then read the next two numbers , find the production and print it in the outData file. Finally, read the character in the last line and print the character that comes before it in the ASCII set .

 

After the execution, the outdata.txt should contain;

 

********************************

 

56.40+ 38.10= 94.50

 

7.50* 3.20= 24.00

 

The cahracter before X is :W

Link to comment
Share on other sites

ممكن تساعدوني على حل هالاسايمنت .. عجزت و انا ابي احله .. اللي يعرف له يحله بليييز والله يجعله في ميزان حسناتكم..

 

 

ITCS101

 

Assignment #2 (chapter 3)

 

Suppose that the file inData.txt contains the following data:

 

56.4 38.1

 

7.5 3.2

 

X

 

Write a C++ program that read from the inData file the first two numbers, calculate and print the sum of them into outData.txt file. Then read the next two numbers , find the production and print it in the outData file. Finally, read the character in the last line and print the character that comes before it in the ASCII set .

 

After the execution, the outdata.txt should contain;

 

********************************

 

56.40+ 38.10= 94.50

 

7.50* 3.20= 24.00

 

The cahracter before X is :W

 

Link to comment
Share on other sites

#include<iostream>

using namespace std;

int main()

{

ifstream A;

ofstream B;

A.open ("indata.txt");

B.open ("outdata.txt");

float x;

float y;

float a;

float b;

char ch;

A>>x;

A>>y;

B<<fixed;

B<<setprecision(2);

B<<setw(10)<<x<<"+"<<setw(10)<<Y<<"="

 

هذا الي سويناه في الاب وماكملتها باجر منكمله ومنتأكد اذا صح شغلنا ولا لا

انتي اي من يدرسج واي سكشن ؟

 

 

Link to comment
Share on other sites

اختي دامج بتستخدمين فايل وتبين تفتحينه

 

لازم تسوين له فوق اول شي include<fstream>

 

واخر شي بعد لازم تسكرين الفايلات اللي فتحتينهم

 

اهم اوردي يتسكرون بروحهم بس تبع 101 لازم تسوون هالخطوه

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...