Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,849 members, 7,810,274 topics. Date: Saturday, 27 April 2024 at 04:22 AM

Pls Explain This For Me - Programming (2) - Nairaland

Nairaland Forum / Science/Technology / Programming / Pls Explain This For Me (1791 Views)

Pls Explain This Code For Me / Please,Help Explain This Code In C / Can Someone Explain This Line Of Code To Me (2) (3) (4)

(1) (2) (Reply) (Go Down)

Re: Pls Explain This For Me by Nobody: 5:29pm On Jun 10, 2020
stanliwise:
its cheap and easy to get
How much for an Arduino project.
Re: Pls Explain This For Me by stanliwise(m): 6:09pm On Jun 10, 2020
SegFault:

How much for an Arduino project.
it depends on the complexity. You have any project?
Re: Pls Explain This For Me by Emaster19: 10:37am On Jun 20, 2020
You can order from www.ikcomponent.com. It’s cheaper and fast delivery
Re: Pls Explain This For Me by CanadaVal: 5:05am On Dec 17, 2023
Greetings every body, please I am looking for where to buy PMS 5003 dust sensor in Lagos for my arduino project. Please, I am waiting for your reply. It is very urgent...
Re: Pls Explain This For Me by airsaylongcome: 9:47am On Dec 17, 2023
stanliwise:
for example if you need to print 1 - 1000. Can you help with any method of doing this without using a loop?


Just seeing this now. But surely there is a way to print 1-1000 that doesn't involve a loop.
Re: Pls Explain This For Me by MindHacker9009(m): 2:35pm On Dec 17, 2023
airsaylongcome:

Just seeing this now. But surely there is a way to print 1-1000 that doesn't involve a loop.

You'll need a Recursive Method with an if statement to achieve such.
Re: Pls Explain This For Me by airsaylongcome: 3:47pm On Dec 17, 2023
MindHacker9009:


You'll need a Recursive Method with an if statement to achieve such.

System.out.println("1" ) ;
System.out.println("2" ) ;
System.out.println("3" );
System.out.println("4" );
....
....
System.out.println("1000" ) ;
Re: Pls Explain This For Me by MindHacker9009(m): 3:53pm On Dec 17, 2023
airsaylongcome:


System.out.println("1" ) ;
System.out.println("2" ) ;
System.out.println("3" );
System.out.println("4" );
....
....
System.out.println("1000" ) ;

And you intend on typing 1000 lines of your code😆
Re: Pls Explain This For Me by airsaylongcome: 3:55pm On Dec 17, 2023
MindHacker9009:


And you intend on typing 1000 lines of your code

Sure. The post I quoted asked whether you could output 1 to 1000 without using loops. And the method I used would do that without a single loop

(1) (2) (Reply)

Help!!!! How Do I Develop A User's Profile Using Php Mysql On Dreamweaver / Self-taught Programmers Vs Trained-taught Programmers / When Oyinbo Programmer Smoke Osogbo Weed For The First Time

(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. 11
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.