Question about Microsoft Windows Vista Ultimate Edition

1 Answer

Wht is the solution..........following program is giving compile time error

class car()
float price;
int milege;
car model[30];

void dis()
cout<<"\n the model of car is\t"< cout<<"\n the price is\t"< cout<<"\n average milege is\t"milege;
void accept()
cout<<"\n the model is\t";
cout<<"\n enter the price\t";
cout<<"\n enter company quoted milege\t";
int main()
car c[2];
return 0;

Posted by on


1 Answer

  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 1 Answer

Could you please send me an example of source code for my example in school?
#include<stdio.h> etc....


Posted on Oct 04, 2008


1 Suggested Answer

  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

A 6ya expert can help you resolve that issue over the phone in a minute or two.
Best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
The service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
Good luck!

Posted on Jan 02, 2017


Add Your Answer

Uploading: 0%


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



Related Questions:

1 Answer

In c create a class called car having members model no,year,no of doorsand mileage and have member functions to add and modify the members of the car

create a class called date that includes three pieces of information as data members-a month (type int), a day (type int) and a year (type int) in c++

Aug 19, 2010 | Borland Turbo C++ 3.0 Full Version...

1 Answer

How to get no. of pixels from given image through java

try to embeed the following coding
class ImgMod02 extends Frame{
Image rawImg;
int imgCols;//Number of horizontal pixels
int imgRows;//Number of rows of pixels
Image modImg;//Reference to modified image

//Inset values for the Frame
int inTop;
int inLeft;

Mar 27, 2010 | Computers & Internet

1 Answer

How can to make a salary computation using the c++(looping)..pls

hi, well u don't need looping in salary computation. here is the program:-
#include<iostream.h> #include<conio.h> int main() { float bs,gs,hra,da; cout<<"enter basic salary"; cin>>bs; hra=40*bs/100; da=20*bs/100; gs=bs+hra+da; cout<<gs; return 0; }
regards, poly

Oct 07, 2009 | Computers & Internet

1 Answer

Sir, give me sample java problem! for i can solve.

Look at the method below which finds prime numbers. public class Primes { private static void findPrimes(int nValues, boolean printPrimes) { boolean isPrime = true; for (int i = 2; i <= nValues; i++) { isPrime = true; for (int j = 2; j < i; j++) { if (i % j == 0) { isPrime = false; break; } } if (printPrimes && isPrime) { System.out.println(i); } } } // REMAINING METHODS NOT SHOWN }Implement the method findPrimesFaster in class Primes by copying the code from the findPrimes method and modifying it to have the following features:
  • Uses labeled continue instead of break.
  • Does not require the isPrime variable.
  • Only tries to divide by integers up to the square root of the number being tested.

Sep 25, 2009 | Sun Java Programming Language (cdj-275)

1 Answer


This whole code for above we can not give.

Aug 06, 2009 | Shopnovell iFolder 1.0 Software Media Kit...

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 Computers & Internet

1 Answer

Create a class called Date in C++

I wrote it for you:
Remember, this is only a demonstration, so you can learn from it!

Mar 26, 2009 | Computers & Internet

1 Answer

Base and exponet soucre code(recursor)

Hi Dear,
here is the code in c, for positive integeral exponent, you can convert it in any other programming language.

#include "math.h"
float (float base, unsign int expo)
int x=abs(expo), i;
if (x<=1)
return(base*float(base, expo-1);

Hope this will help you out.
for any clarification please feel free to contact me

Zulfikar Ali

Mar 03, 2009 | Intel Computers & Internet

1 Answer

Create an employee class contains following members data members:

class employee
int emp_no;
char emp_name[80];
float Basic;
employee(int no, char *name, float basic)

float int calc_da()

float calc_it()

float calc_netSal()

Feb 28, 2009 | IBM Computers & Internet

2 Answers

Not getting the output on the screen

Try writing it like this ...

#include <iostream>
using namespace std;

int main ()
cout << "welcome to the world of c++! ";
return 0;

Nov 14, 2008 | Microsoft Windows Vista Home Premium with...

Not finding what you are looking for?
Microsoft Windows Vista Ultimate Edition Logo

Related Topics:

193 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

micky dee

Level 3 Expert

2970 Answers

Piyal Perera
Piyal Perera

Level 3 Expert

528 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18419 Answers

Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides