Question about Microsoft Compilers & Programming Tools

1 Answer

I need the turbo c++ program for sum of sub sets!!

Posted by on

1 Answer

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    Superstar:

    An expert that got 20 achievements.

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

  • Microsoft Master
  • 4,806 Answers

Hi there.
Get Turbo C++ here >>>>>

http://cplus.about.com/od/learnc/ss/tcsharpins_2.htm

Good luck and thanks for using FixYa!!!

Posted on Mar 04, 2009

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Sir i have been working to c++ but before sum days i have run endless loop program by mistake something got deleted from iostream.h file after that it is showing linker error pass2


iostream.h file input output header file for c++ by which we can use input/output data.
So you must reinstall the c++ to your system and after that linker error would not go on.

Aug 26, 2011 | Borland Turbo C++ 3.0 Full Version...

1 Answer

Create javascript code whose function is to compute the sum of two inputs?


Hello,
The following code will dynamically calculate the some of the first two fields:



Enter first number:
Enter second number:
Their sum is:

Best Regards, Ben

Jun 29, 2011 | Compilers & Programming Tools

1 Answer

Declare 2 arrays with 5 as index value of each. the user will input values to the first array(user-defined). Transfer value of the first array to the second array.Get the sum of the second...


You could do this by creating two arrays as such:
int firstArray[5]; int secondArray[5]
and then the sum variable:
int sum = 0;
then you could do a for loop to find the sum of the second array:

Feb 22, 2011 | Microsoft Visual C++ Professional Edition...

1 Answer

My system does not support full screen mode for turbo c++ 3.0 compiler


Set your compiler on 16 bit.To do that, do the right click on desktop and select properties. Go to advanced setting and set to 16 bit version.

Dec 23, 2010 | Borland Turbo C++ 3.0 Full Version...

1 Answer

Write a program to sum of all even integer numbers


#include <iostream>
using namespace std;
int main ()
{
int num = 0, i = 1, sum = 0;
cout << "Enter a positive integer: ";
cin >> num;
while (i <= num)
{
sum += i;
i++;
}
cout << "The sum is " << sum << endl;
return 0;
}

Oct 30, 2010 | Compaq Visual Fortran Professional Edition...

1 Answer

How to compute a class average using arrays


hi, here is the program #include<stdio.h> #include<conio.h> void main() { int class[30],i; float sum=0,avg=0; printf("enter marks"); for(i-0;i<30;i++) scanf("%d",&class[i]); for(i-0;i<30;i++)
sum+=class[i]; avg=sum/30; printf("%f",avg); getch(); }

May 08, 2009 | Microsoft Compilers & Programming Tools

1 Answer

How i make calculator by using source code in c++?


hi,
here is the code u looking for

#include <iostream.h>
using namespace std;
float sub (float a, float b)
{
float dif;
dif=a - b;
return dif;
}

float addition (float c, float d)
{
float sum;
sum=c+d;
return sum;
}

float divi (float e, float f)
{
float quo;
quo = e/f;
return quo;
}
float multi (float f, float g)
{
float pro;
pro=f * g;
return pro;
}

int main ()
{
float a;
float b;
float opt;

cout << "Welcome to the calculator" << endl;
cout << "There are four options " << endl;
cout << "Option 1 is subtraction, Option 2 is addition, option 3 is division, and option 4 is multiplication " << endl;
cout << "Enter your option and two digits " << endl;
cin >> opt >> a >> b;


if (opt == 1)
{
float temp= sub (a, b);
cout << "Your difference is " << temp << endl;
}

else
if (opt==2)
{
float temp2= addition (a, b);
cout << "Your sum is " << temp2 << endl;
}
else
if (opt == 3)
{
float temp3= divi (a,b);
cout << "Your quotient is " << temp3 << endl;
}
else
if (opt == 4)
{
float temp4= multi (a,b);
cout << "Your product is " << temp4 << endl;
}
else
{
cout << "That function is not supported in calculator!" << endl;
}
cout << "Thank you for using calculator" << endl;

return 0;
}

Thanks!

Mar 19, 2009 | Microsoft Compilers & Programming Tools

1 Answer

A Program using an array that culculates the sum and average of the five input values?


Hi,
I am writing in C code here
#include<stdio.h>
#include<conio.h>
void main()
{
int a[5],i,sum=0;
float avg=0;
printf("enter the five values");
for(i=0;i<5;i++)
scanf("%d",&a[i]);
for(i=0;i<5;i++)
sum+=a[i];
printf("Sum=%d",sum);
avg=sum/5;
printf("Average=%f",avg);
getch();
}

Mar 18, 2009 | ArcMedia JavaScript Source Code 3000 Pro...

1 Answer

I was finding a games program with the use of turbo C with its codes...please help me...i need it now for our project in this final term..


Find it here:

  • http://moshcode.blogspot.com/2005/07/turbo-c-source-code-for-instant.html
  • http://www.codeproject.com/KB/cpp/tigergoat.aspx
P.S.: If this information was helpful, please rate this solution.

Mar 12, 2009 | Compilers & Programming Tools

1 Answer

Automatic garbage value taking in turbo c++


When you are define the parameters you should initial them with zero. unless you do so the system will initial, then they will receive random number or minimum number.

Aug 23, 2007 | Borland Turbo C++ Suite 1.0...

Not finding what you are looking for?
Compilers & Programming Tools Logo

Related Topics:

138 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Compilers & Programming Tools Experts

Fred Block
Fred Block

Level 2 Expert

289 Answers

Robin Hill
Robin Hill

Level 3 Expert

1251 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Are you a Microsoft Compiler and Programming Tool Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...