₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,000 members, 8,419,872 topics. Date: Thursday, 04 June 2026 at 05:30 AM

Toggle theme

Please Help Solve This Problem With Q Basic Or Liberty Only.... - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingPlease Help Solve This Problem With Q Basic Or Liberty Only.... (772 Views)

1 Reply

Please Help Solve This Problem With Q Basic Or Liberty Only.... by Ibrokane(op): 9:32am On Jul 09, 2013
Am a novice in programming... But i do have interest in it... I am facing a problem given to me by one of my lecturer and i would be pleased if you if u can just help me out in thir question.....(q basi please or libeqty)
..................
Write a loop that will generate every 3rd integer beginning with "I=" And continues for all integers that are less than 100. Calculate the sum of those integers that are easily divisible by 5
Re: Please Help Solve This Problem With Q Basic Or Liberty Only.... by Parrotpal(m): 7:30pm On Jul 09, 2013
@ops, thou am also a novice in programming cos am not more than 2 month old in programing,all thanx 2 futa! Lol! D 1st part of d questn is much easier, u wil use for-to-next statement.i.e for i=3 to 99 step 3 since u ar to generate integers divisible by 3. U may think odawise because d questn is somhow tricky. Print i,
next i, for the 2nd part u wil ve 2 use let stament e.g let j= (i mod 5=0)
print j,
sum=sum+j
print 'sum'
note: u shuld ve previously assign sum 2 b equal 2 zero at d start of d program. Hope it wil b of help.thou this is qbasic ve nt heard of liberty b4 o.
1 Reply

Q-basic Program To Compute Simple Interest.Programmers help me With This Problem Pls !!!!!!!!!!!Someone Please Help Solve This Problem.234

HtmlLearn To Code By Being Coached By An Experienced Developer For FreeWatch Free Video Tutorials on how to build Websites with Wordpress