:rolleyes: So you don't get that doubt for your User 1 input?
In the console, I hope you can't move your cursor wherever you want and provide the input.
User 2 please state your name: X
User 2...
Type: Posts; User: sirama
:rolleyes: So you don't get that doubt for your User 1 input?
In the console, I hope you can't move your cursor wherever you want and provide the input.
User 2 please state your name: X
User 2...
Declare variables for a and b. Get user input for a and b. Declare variable for y. Then write
y = (5 * a ) - (2 * b).
Do you say this not the answer? Then you should elaborate your question.
In addition to nvoigt:
You set autosize property of the label to true and you does't set any display text to the label. Possibly you does't use the array you defined for display text of the label....
Corrected your code to show the output. Too see the output w/o this code change, run your exe is dos prompt.
#include <iostream>
#include <conio>
using namespace std;
int main()
void PrintStatement(void)
{
Account acc;
acc.get_data();
}
Change the above function to as you are already inheriting Account class:
void PrintStatement(void)
{
Go with method1 as it gives more performance compared with method 2. It depends on the content of the loop body. If three statements are dependent on each other go with method 1. If the need is kind...
I also suggest Liquid XML. It is good for C++ code base and has rich functions placed in. MSXML also a good one, but I don't know why people hate it.