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
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]

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

Formatted

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

http://kantipur.friendhood.net

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

tihor

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

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

rawSun

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

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

tihor

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

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

imbreakingdawn


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

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

tihor

tihor
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;
}

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

tihor

tihor
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;
}

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