Programming

Programming questions? Ask a programmer for answers ASAP

Ask a Computer Expert,
Get an Answer ASAP!

1. Write two programs (first uses if functions, second uses…

Customer Question
1. Write two programs (first...

1. Write two programs (first uses if functions, second uses switch functions) which reads an input from user (Tips: Scanner) when they type in a student’s percentage weighted average marks on the “University’s Honours Classification and Other Award Rankings” and prints out an appropriate message to remind the student of the classification which their average marks cover.

Technician's Assistant: What programming language are you using for this assignment?

Bluej

Technician's Assistant: What are the full requirements for this task? How soon do you need it completed?

Asap

Submitted: 1 month ago.Category: Programming
Show More
Show Less
Ask Your Own Programming Question
Customer reply replied 1 month ago
https://www.strath.ac.uk/sees/studentpolicies/policies/assessmentfeedbackandexternalexaminers/honoursclassificationotherawardrankings rankings are here
Answered in 34 minutes by:
3/22/2018
Programmer: Ingo U, Software Engineer replied 1 month ago
Ingo U
Ingo U, Software Engineer
Category: Programming
Satisfied Customers: 796
Experience: Over 25 years experience in software development. Expert in Microsoft .Net, C#, C++, VB, SQL
Verified

Hi,

if I gave you the Java source code, would you be able to paste it into the BlueJ IDE?

Also, I don't quite see how a switch statement is applicable in this situation, unless we create a case label for every possible number the user might enter... which is kind of clumsy. Any way you can get clarification on this?

Ask Your Own Programming Question
Programmer: Ingo U, Software Engineer replied 1 month ago

Well I went ahead and wrote the 2 programs anyway, since the code had to be written either way. Please see attached zip folder with 2 java source code files. I hope this will satisfy your requirements. Please let me know if you need anything else.

-Ingo

Ask Your Own Programming Question
Programmer: Ingo U, Software Engineer replied 28 days ago

Hi,
just following up, were you able to use my solution?
Please feel free to post any additional questions, comments or concerns you may have regarding this issue.

If you're not yet satisfied with the result, please let me know what is missing.
I will do my best to make it right for you.

Otherwise, please don't forget to rate my service - I don't get paid for my work until your rating is received.

Regards,
Ingo U

Ask Your Own Programming Question
Programmer: Ingo U, Software Engineer replied 26 days ago

Hi,
just following up, were you able to use my solution?
Please feel free to post any additional questions, comments or concerns you may have regarding this issue.

If you're not yet satisfied with the result, please let me know what is missing.
I will do my best to make it right for you.

Otherwise, please don't forget to rate my service - I don't get paid for my work until your rating is received.

Regards,
Ingo U

Ask Your Own Programming Question
Was this answer helpful?
Ask Ingo U Your Own Question
Ingo U
Ingo U
Ingo U, Software Engineer
Category: Programming
Satisfied Customers: 796
796 Satisfied Customers
Experience: Over 25 years experience in software development. Expert in Microsoft .Net, C#, C++, VB, SQL

Ingo U is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

ATLPROG

ATLPROG

Computer Software Engineer

7,677 satisfied customers

MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML

LogicPro

LogicPro

Computer Software Engineer

7,131 satisfied customers

Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

unvadim

unvadim

Computer Software Engineer

1,168 satisfied customers

Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.

lifesaver

lifesaver

Computer Software Engineer

950 satisfied customers

Several years of intensive programming and application development experience in various platforms.

ehabtutor

ehabtutor

Computer Software Engineer

936 satisfied customers

Bachelor of computer science, 5+ years experience in software development, software company owner

TheDoctor

TheDoctor

Software Engineer

893 satisfied customers

M.S. in Internet Information Systems

The-PC-Guy

The-PC-Guy

Software Engineer

800 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

< Previous | Next >

Related Programming Questions
My program (written in C++) will not compile in MS VS 2015
My program (written in C++) will not compile in MS VS 2015 when I add an image to my PictureBox: An unhandled exception of type 'System.Resources.MissingManifestResourceException' occurred in mscorlib… read more
Ingo U
Ingo U
Software Engineer
796 satisfied customers
1. Write two programs (first uses if functions, second uses
1. Write two programs (first uses if functions, second uses switch functions) which reads an input from user (Tips: Scanner) when they type in a student's percentage weighted average marks on the “Uni… read more
Ingo U
Ingo U
Software Engineer
796 satisfied customers
I have a java programming assignment that I need help with.
I have a java programming assignment that I need help with … read more
George Sibiya
George Sibiya
PhD
246 satisfied customers
I can't get this program to work. // * PRG/420 /* @author
// * PRG/420 /* @author Jeneen */ package yearlycomp2;import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.Scanner;public class YearlyComp2 { //main() method public static void main(String[] args){ SalesAgent2 salesobject = new SalesAgent2(); salesobject.pleasewait(); SalesAgent2 money = new SalesAgent2(); money.newSalary(); } } //Second Class /** * * @author Jeneen */ public class SalesAgent2 {//Variables double fixedCompensation = 50000; //Sets a fixed Salary double newSalary; //The total of the salesman salary and compensation double salesTarget = 120000; //Sets the sales target double salesIncentive = 0.80 * salesTarget; //Calculates 80% of Sales target for incentive double commissionRate = .15; //Sets the commission rate to 15% double accelerationFactor = .1875; //Sets the acceleration factor to 1.25 of 15% double salesOverTarget; //Calculates sales over the target for the accleration factor double acceleratedCommission; //Total of the accelerated commission double baseCommission; //Total of base commission double salesAmount; //Sales Amount Variable for table double maxSales = 1.50 * salesAmount; //Max Sales for table displaypublic void salesperson(){ Scanner input = new Scanner(System.in); do { //Ask user to enter annual sales amount System.out.print("Please enter your annual sales: "); while (!input.hasNextDouble()){ //Only numeric characters entered System.out.println("Only enter numeric values."); input.next(); } salesAmount = input.nextDouble(); } while (salesAmount <= 0); } public void totalCompensationCalculation(){ if (salesAmount >= salesIncentive && salesAmount <= salesTarget){ baseCommission = salesAmount * commissionRate; newSalary = baseCommission + fixedCompensation; } else if (salesAmount >= salesTarget){ salesOverTarget = salesAmount - salesTarget; acceleratedCommission = salesOverTarget * accelerationFactor; baseCommission = salesTarget * commissionRate; newSalary = fixedCompensation + acceleratedCommission + baseCommission; } else { commissionRate = 0; newSalary = 0; } } public void displayTable() { NumberFormat numberFormat = NumberFormat.getCurrencyInstance(); System.out.println("Total compensation: " + numberFormat.format(newSalary)); //Display Table System.out.println("Annual Sales: \tTotal Compensation:"); while (salesAmount <= maxSales) { System.out.println(numberFormat.format(salesAmount) + "\t" + "\t" + numberFormat.format(newSalary)); salesAmount = salesAmount + 5000; } }void newSalary() { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. }void pleasewait() { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } … read more
Ingo U
Ingo U
Software Engineer
796 satisfied customers
I need the source code or the library in Java that defines
I need the source code or the library in Java that defines OUAnimatedApplication and OUColour … read more
George Sibiya
George Sibiya
PhD
246 satisfied customers
OKPR923211 Expert in VB code editing? I have a short VB code
OKPR923211 Expert in VB code editing? I have a short VB code that does indenting of source code. I need help in revising it.… read more
Bhavik Joshi
Bhavik Joshi
Computer Science and Engineering
765 satisfied customers
A program that considers a class that keeps track of the
a program that considers a class that keeps track of the sales of an item. An object of this class will have the following attributes: •Number sold •Total sales •Total discounts •Cost per item •Bulk q… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
7,131 satisfied customers
I received this error message when creating a program for a
Hello. I received this error message when creating a program for a clock in netbeans. Can you help? … read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
7,131 satisfied customers
I need STM32Cube_FW based example source C code to program
I need STM32Cube_FW based example source C code to program STM32F411 MCU as USB HID host to access (communicate with) customized HID device (not keyboard nor mouse)… read more
Kris R
Kris R
IT Manager
Computing
3,312 satisfied customers
I am programming for years mostly in vbScript having the
I am programming for years mostly in vbScript having the vbScript-Editor, but codes get very long and I seek one Editor, which can have classes on different pages and procedures be closed, that only t… read more
Steve
Steve
Consultant
Bachelor
69 satisfied customers
I have an assignment I need done today and I don't have time
I have an assignment I need done today and I don't have time to work on it. Can you help please? … read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
7,131 satisfied customers
I have a couple remaining Java codes/modifications, which
Hi George, I have a couple remaining Java codes/modifications, which are detailed in the attached word document. As well, all of the required codes are in the Zip file. Let me know if you are missing … read more
George Sibiya
George Sibiya
PhD
246 satisfied customers
Trying to write a java program comparing the salary and
Trying to write a java program comparing the salary and commission of twp sales employees...I have never programmed before … read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
7,131 satisfied customers
I have a legacy program written in VB 6.0 running under
I have a legacy program written in VB 6.0 running under Windows Xp Pro (offline). Last successful update was in 2015. When I try to modif the source code of my program, I can no longer create a new .e… read more
Michael Hannigan
Michael Hannigan
Bachelor\u0027s Program
239 satisfied customers
Sorry for the delay - someone came in. I have developed our
Hi. Sorry for the delay - someone came in. I have developed our business software using dbase PLUS which does not run with Windows 10, so we have been trying to keep our XP machines running. We now ne… read more
Kris R
Kris R
IT Manager
Computing
3,312 satisfied customers
I have an html 5 video question. I want to add a video to my
Hello, I have an html 5 video question. I want to add a video to my site. I was able to play the video once, then tried to center the layout and managed to mess up my video function. If you're able to… read more
Pete
Pete
Engineer
Bachelor\u0027s Degree
1,129 satisfied customers
Assignment 3 Please start with this source code. Write a
Assignment 3 Please start with this source code.Write a program that opens the following text file and processes it contents. The program should display the following per store: The total sales for ea… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
7,131 satisfied customers
To C expert: How to convert my C source code to standard C
To C expert: How to convert my C source code to standard C source code so that it includes only standard C header files? My C source coding includes "CB.h", which is not an ANSI C standard C header fi… read more
Steve
Steve
Consultant
Bachelor
69 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x