Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

making a software


  • Please log in to reply
6 replies to this topic

#1 palmac48

palmac48

  • Members
  • 10 posts
  • OFFLINE
  •  
  • Local time:11:41 AM

Posted 22 July 2014 - 08:29 AM

hi fellow programmers. i just wanted to know how i can make a software with c++. That is, what next after writing a programming like the one you can enter student marks, then calculates the grades and it gives the results and scores at the end of the program. please help.


Edited by palmac48, 22 July 2014 - 08:35 AM.


BC AdBot (Login to Remove)

 


#2 Sirawit

Sirawit

    Bleepin' Brony


  • Malware Response Team
  • 4,163 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Thailand
  • Local time:02:41 AM

Posted 22 July 2014 - 08:38 AM

First, you will need to know what you want to do, we cannot help you out of nothing.

 

Thank you.


If I don't reply back to you in 2 days, feel free to send me a PM.

 

“You’re lying… just like you were lying to me before. You have to hate me. I’ve been the worst daughter in the world… you should hate me.”

“But I don’t, Nyx. Because, Nyx, I’m your mother, and a mother will always love her daughter, no matter what.” -Past sins by Pen stroke.


#3 Billy O'Neal

Billy O'Neal

    Visual C++ STL Maintainer


  • Malware Response Team
  • 12,304 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Redmond, Washington
  • Local time:12:41 PM

Posted 22 July 2014 - 11:55 AM

Ok, student grade entered; grade calculated. http://ideone.com/PhBEIp

#include <cstdio>

int main()
{
    char c;
    std::puts("Enter your grade:");
    std::scanf("%c", &c);
    std::puts("Calculating....");
    std::printf("Your grade is %c!\n", c);
}
All aboard the Bill sarcasm train!

Billy3
Twitter - My statements do not establish the official position of Microsoft Corporation, and are my own personal opinion. (But you already knew that, right?)
Posted Image

#4 Sirawit

Sirawit

    Bleepin' Brony


  • Malware Response Team
  • 4,163 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Thailand
  • Local time:02:41 AM

Posted 22 July 2014 - 12:05 PM

I now know grade calculation program is basic program for every school.

 

MATLAB version, can be consider as C too.

a=1;
x=0;
while x>=0
x= input('Enter number: ');
if(x<0)
    return
end
n(a,1)=a;
n(a,2)=x;
if x>=85&x<=100
    n(a,3)=4;
elseif x>=75&x<=84
    n(a,3)=3.5;
elseif x>=65&x<=74
    n(a,3)=3;
elseif x>=55&x<=64
    n(a,3)=2.5;
elseif x>=45&x<=54
    n(a,3)=2;
elseif x>=35&x<=44
    n(a,3)=1.5;
elseif x>=30&x<=34
    n(a,3)=1;
else
    n(a,3)=0;
end
a=a+1;
disp(n)
end

Thank you.


If I don't reply back to you in 2 days, feel free to send me a PM.

 

“You’re lying… just like you were lying to me before. You have to hate me. I’ve been the worst daughter in the world… you should hate me.”

“But I don’t, Nyx. Because, Nyx, I’m your mother, and a mother will always love her daughter, no matter what.” -Past sins by Pen stroke.


#5 Sirawit

Sirawit

    Bleepin' Brony


  • Malware Response Team
  • 4,163 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Thailand
  • Local time:02:41 AM

Posted 22 July 2014 - 12:06 PM

Ok, student grade entered; grade calculated. http://ideone.com/PhBEIp
 

#include <cstdio>

int main()
{
    char c;
    std::puts("Enter your grade:");
    std::scanf("%c", &c);
    std::puts("Calculating....");
    std::printf("Your grade is %c!\n", c);
}
All aboard the Bill sarcasm train!

Billy3

 

lol I doubt it will just tell you what you input right?


If I don't reply back to you in 2 days, feel free to send me a PM.

 

“You’re lying… just like you were lying to me before. You have to hate me. I’ve been the worst daughter in the world… you should hate me.”

“But I don’t, Nyx. Because, Nyx, I’m your mother, and a mother will always love her daughter, no matter what.” -Past sins by Pen stroke.


#6 Billy O'Neal

Billy O'Neal

    Visual C++ STL Maintainer


  • Malware Response Team
  • 12,304 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Redmond, Washington
  • Local time:12:41 PM

Posted 22 July 2014 - 12:10 PM

lol I doubt it will just tell you what you input right?

That's [em]exactly[/em] what it does :P

Billy3
Twitter - My statements do not establish the official position of Microsoft Corporation, and are my own personal opinion. (But you already knew that, right?)
Posted Image

#7 Veitch

Veitch

  • Members
  • 31 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Local time:08:41 PM

Posted 23 July 2014 - 04:08 AM

hi fellow programmers. i just wanted to know how i can make a software with c++. That is, what next after writing a programming like the one you can enter student marks, then calculates the grades and it gives the results and scores at the end of the program. please help.


Buy a book or read a good tutorial about C++ programming.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users