Assignment Help, Cloud Based ERP System, Microsoft NAV Certification
WELCOME !!

Please Register, ask for assignment solutions & post the solutions if you know any.

LETS START POSTING YOUR IDEAS AND THOUGHTS AND BUILD THE COMMUNITY OF EXPERTS.

Assignment Help, Cloud Based ERP System, Microsoft NAV Certification

Stock Market, Online Tutoring, Cloud Based ERP System, Microsoft Dynamics Reporting, Microsoft Nav Certification


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Your C++ Problems Here. on 6th June 2009, 4:40 pm

Formatted

avatar
Administrator
Post your problems related to c++ programming here.


_________________
REGISTER AND LOG-IN TO PARTICIPATE
START POSTING YOUR IDEAS AND THOUGHTS AND BUILD THE COMMUNITY OF EXPERTS.
View user profile http://kantipur.friendhood.net

2 Re: Your C++ Problems Here. on 13th July 2009, 11:24 pm

tihor

avatar
Administrator
I don't have any problems related to C++. But I assure to help in this problem to others

View user profile

3 Re: Your C++ Problems Here. on 2nd January 2010, 10:10 pm

rawSun

avatar
Administrator
thanks sir but i want to know if you are a teacher by profession or just a student acting as a teacher.

View user profile

4 Re: Your C++ Problems Here. on 15th February 2010, 1:28 am

tihor

avatar
Administrator
ha ha ha............ na chine jasto kina gareko ni..........

View user profile

5 Re: Your C++ Problems Here. on 25th September 2011, 10:29 pm

write a program that accepts integer and display the inputted integers

a)algorithm
b)flowchart
c)c++ program /.


2. write a program that accepts grade for 9 subjects and display the average

a)algorithm
b)flowchart
c) c++ flowchart


pls also do the algorithm ,flowchart ,c++ program for each problem

View user profile

6 Re: Your C++ Problems Here. on 4th November 2011, 2:25 am

tihor

avatar
Administrator
Q1. Solution
Code:
#include<iostream>
using namespace std;
class Input{
    private int val;
    public:
          input(){}
          function getValue(){
                  cout<<"Please enter number";
                  cin>>val;
          }
          function showValue(){
                  cout<<val;
          }
};
int main(){
      Input in;
      in.getValue();
      in.showValue();
      getchar();
      return 0;
}

View user profile

7 Re: Your C++ Problems Here. on 4th November 2011, 2:28 am

tihor

avatar
Administrator
Q2. Solution
Code:
#include<iostream>
using namespace std;
class Input{
    private int val,sum;
    public:
          input(){
                sum=0;
          }
          function getValues(){
                  for(int i=0;i<9;i++){
                      cout<<"Please enter the grades";
                      cin>>val;
                      sum+=val;
                  }
                  val = sum/9;
          }
          function showValue(){
                  cout<<"The Average is: "<<val;
          }
};
int main(){
      Input in;
      in.getValues();
      in.showValue();
      getchar();
      return 0;
}

View user profile

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum