Click here to Skip to main content
15,560,045 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionways to write code for a class Pin
Calin Negru6-Feb-22 8:43
Calin Negru6-Feb-22 8:43 
AnswerRe: ways to write code for a class Pin
Mircea Neacsu6-Feb-22 10:15
Mircea Neacsu6-Feb-22 10:15 
AnswerRe: ways to write code for a class Pin
Greg Utas6-Feb-22 11:16
mveGreg Utas6-Feb-22 11:16 
GeneralRe: ways to write code for a class Pin
Calin Negru7-Feb-22 0:28
Calin Negru7-Feb-22 0:28 
QuestionC++ Pin
Naveenkumarreddy Ramireddy6-Feb-22 7:44
Naveenkumarreddy Ramireddy6-Feb-22 7:44 
AnswerRe: C++ Pin
trønderen6-Feb-22 9:00
trønderen6-Feb-22 9:00 
AnswerRe: C++ Pin
Victor Nijegorodov6-Feb-22 9:50
Victor Nijegorodov6-Feb-22 9:50 
AnswerRe: C++ Pin
Artem Moroz8-Feb-22 10:19
Artem Moroz8-Feb-22 10:19 
Hi there!
I have started this Tax software program for you:

#include <iostream>

using namespace std;

int main()
{
    cout<< "Tax software developed by https://iq.direct" << endl;
    cout<< "Enter Salary:";
    
    double s = 0, t = 0;
    cin >> s;
    
    cout<<"you entered: " << s << endl;
    
    if (s < 600)
    {
        t = 0;
    }
    if (s >= 600 && s < 800 )
    {
        t = s * 0.1;
    }
    if (s >= 800 && s < 1000 )
    {
        t = s * 0.13;
    }
    
    cout<< "The tax will be :" << t;

    
    return 0;
}

QuestionRichEdit Streamin SF_TEXT not appearing Pin
ForNow30-Jan-22 15:58
ForNow30-Jan-22 15:58 
AnswerRe: RichEdit Streamin SF_TEXT not appearing Pin
Victor Nijegorodov30-Jan-22 21:43
Victor Nijegorodov30-Jan-22 21:43 
GeneralRe: RichEdit Streamin SF_TEXT not appearing Pin
ForNow30-Jan-22 21:48
ForNow30-Jan-22 21:48 
GeneralRe: RichEdit Streamin SF_TEXT not appearing CODE POSTED !!!!! Pin
ForNow31-Jan-22 2:32
ForNow31-Jan-22 2:32 
GeneralRe: RichEdit Streamin SF_TEXT not appearing CODE POSTED !!!!! Pin
Victor Nijegorodov31-Jan-22 2:45
Victor Nijegorodov31-Jan-22 2:45 
GeneralRe: RichEdit Streamin SF_TEXT not appearing CODE POSTED !!!!! Pin
ForNow31-Jan-22 3:11
ForNow31-Jan-22 3:11 
GeneralRe: RichEdit Streamin SF_TEXT not appearing CODE POSTED !!!!! Pin
Victor Nijegorodov31-Jan-22 3:17
Victor Nijegorodov31-Jan-22 3:17 
GeneralRe: RichEdit Streamin SF_TEXT not appearing CODE POSTED !!!!! Pin
ForNow31-Jan-22 3:31
ForNow31-Jan-22 3:31 
GeneralRe: RichEdit Streamin SF_TEXT not appearing CODE POSTED !!!!! Pin
Victor Nijegorodov31-Jan-22 11:34
Victor Nijegorodov31-Jan-22 11:34 
GeneralRe: RichEdit Streamin SF_TEXT not appearing CODE POSTED !!!!! Pin
ForNow31-Jan-22 11:39
ForNow31-Jan-22 11:39 
GeneralRe: RichEdit Streamin SF_TEXT not appearing CODE POSTED !!!!! Pin
Victor Nijegorodov31-Jan-22 11:52
Victor Nijegorodov31-Jan-22 11:52 
GeneralRe: RichEdit Streamin SF_TEXT not appearing CODE POSTED !!!!! Pin
ForNow31-Jan-22 12:00
ForNow31-Jan-22 12:00 
GeneralRe: RichEdit Streamin SF_TEXT not appearing CODE POSTED !!!!! Pin
Victor Nijegorodov31-Jan-22 12:10
Victor Nijegorodov31-Jan-22 12:10 
GeneralRe: RichEdit Streamin SF_TEXT not appearing CODE POSTED !!!!! Pin
ForNow31-Jan-22 12:16
ForNow31-Jan-22 12:16 
GeneralRe: RichEdit Streamin SF_TEXT not appearing commented out one control and it displayed pated .rc Pin
ForNow1-Feb-22 15:14
ForNow1-Feb-22 15:14 
GeneralRe: RichEdit Streamin SF_TEXT not appearing commented out one control and it displayed pated .rc Pin
Victor Nijegorodov2-Feb-22 1:24
Victor Nijegorodov2-Feb-22 1:24 
GeneralRe: RichEdit Streamin SF_TEXT not appearing commented out one control and it displayed pated .rc Pin
ForNow2-Feb-22 2:18
ForNow2-Feb-22 2:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.