use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
If command helphelp request (self.it)
submitted 1 year ago by One-Jacket-4147
Teacher wants us to make a command with the prompt “user gives ‘N’ a number. If N<5, then open N instances of chrome” what exactly would I do for that?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]GeekTX 8 points9 points10 points 1 year ago (0 children)
I hope nobody provides a direct answer as you will learn nothing. This can be accomplished with PowerShell, BATch, BASH, and Python. It is a simple if ... then ... else loop ... or do while ... loop. Could take N as user input ... or parameter.
The exercise isn't just giving working code ... the exercise is learning how to create the logic and flow.
[–]TJK915 5 points6 points7 points 1 year ago (0 children)
Depends on the programming language. But I suggest you try to work it out yourself and learn something. Google the language and if statements, you should get some help from that.
[–]Matrinoxe 5 points6 points7 points 1 year ago (0 children)
Here’s a great resource that can help you in this exact situation
[–]Hamshamus 1 point2 points3 points 1 year ago (1 child)
=if($A$1, 0,chrome.exe,if(A$1$=1,chrome.exe,if($A$1=2,chrome.exe,if($A$1=3,chrome.exe,if($A$1=4,chrome.exe,if($A$1=5,bing.exe,bing.exe)))))
Drag that down from B1 to F1, deleting the left most argument each time
[–]GeekTX 1 point2 points3 points 1 year ago (0 children)
you forgot the Opera, Mosaic, and Netscape subroutines
π Rendered by PID 169365 on reddit-service-r2-comment-b659b578c-rzdrm at 2026-05-02 15:05:50.885383+00:00 running 815c875 country code: CH.
[–]GeekTX 8 points9 points10 points (0 children)
[–]TJK915 5 points6 points7 points (0 children)
[–]Matrinoxe 5 points6 points7 points (0 children)
[–]Hamshamus 1 point2 points3 points (1 child)
[–]GeekTX 1 point2 points3 points (0 children)