Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,164,157 members, 7,856,660 topics. Date: Tuesday, 11 June 2024 at 02:10 AM

Java - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Java (598 Views)

How Do I Get Java Development Kit On My System? / Java EE Developer And Spring Developer In Here. / Java Programmers ,I Need Help Fixing This Code. (2) (3) (4)

(1) (Reply) (Go Down)

Java by Exmarshall: 12:18am On Nov 25, 2022
Please who can solve this

1 Share

Re: Java by simplesol: 1:59am On Nov 25, 2022
Exmarshall:
Please who can solve this
I can . Chat me up: 0-8-0-3-3-0-5-0-5-77
Re: Java by Exmarshall: 7:41am On Nov 25, 2022
Ok boss
Re: Java by dauddy97(m): 8:15am On Nov 25, 2022
Exmarshall:
Please who can solve this
I'm not a Java user. But, this task can be completed using python.
If you are interested, check my signature for my contact.
Re: Java by Alphabyte1: 8:28am On Nov 25, 2022
Exmarshall:
Please who can solve this

You can use else If or switch statements to test the conditions for the 3 discount rates .


Is it a console program or GUI program

https://www.decodeschool.com/Java-Programming/Branching-Statements/Java-Program-to-calculate-discount-of-5-for-purchase-above-5000

1 Like

Re: Java by qtguru(m): 8:45am On Nov 25, 2022
dauddy97:

I'm not a Java user. But, this task can be completed using python.
If you are interested, check my signature for my contact.

School says Java nau not Python undecided

1 Like

Re: Java by dauddy97(m): 2:56pm On Nov 25, 2022
qtguru:


School says Java nau not Python undecided
Alright, all the best bro
Re: Java by CyberHustle: 3:17pm On Nov 25, 2022
Looks tough to me. How will 100 level student code all these?

1 Like

Re: Java by Alphabyte1: 5:02pm On Nov 25, 2022
Question 7 is regular expression regex for validation of password use HTML, CSS and JavaScript
Re: Java by Kvngfrosh(m): 5:33pm On Nov 25, 2022
Alphabyte1:
Question 7 is regular expression regex for validation of password use HTML, CSS and JavaScript
regex is an overkill.
Re: Java by Exmarshall: 6:33pm On Nov 25, 2022
As in ehn... The school wan kill person
Re: Java by Exmarshall: 6:35pm On Nov 25, 2022
Big man
Thanks . Na u try pas
Re: Java by Sleekcode: 7:07pm On Nov 25, 2022
Hmm.

It's basic for someone who knows Java.
Re: Java by nnoli90: 8:04am On Nov 30, 2022
I can solve it. Am a Java developer
Don't know if is already late.
Re: Java by nnoli90: 8:06am On Nov 30, 2022
U can Dm me
Re: Java by ladjenny: 6:56pm On Dec 01, 2022
Int unit_price = 25;
Int quantity = 110;

Int totalAmount = unit_price * quantity;


Or int totalAmount = 25 * 110;

Int discount = 10/100;

Int finalAns = totalAmount * discount;

System.out.println (finalAns);

Alternatively...

Int finalAns = (25*110) *(10/100);

System.out.println(finalAns);
Re: Java by ladjenny: 7:11pm On Dec 01, 2022
public void Password (String passwordCheck) {
If (passwordCheck.length() < 8 || passwordCheck.contains("password"wink || passwordCheck.contains("12345"wink || !passwordCheck.matches("^[a-zA-Z0-9]+$"wink ) {

system.out.println ("Invalid password"wink

} else {
system.out.println ("Valid password"wink
}

}

(1) (Reply)

Beginner Programmers! / How I Make My First Money Online Using My Smartphone / Programming

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 10
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.