hi guys am new please i your help to debug the error with this code am working with String output="Sum of the Addition of "+num1+" "+num2+" "+num3+" "+num4+" Sum
OMDYD
0
Newbie Poster
Recommended Answers
Jump to Post@stultuske Logically the sum here is a variable, for ex: Sum of the Addition of 1 2 3 4 is 10
@OMDYD Try this
String output="Sum of the Addition of "+num1+" "+num2+" "+num3+" "+num4+" is "+Sum;
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.