Computers & Internet Logo

Related Topics:

s
sajan kaliraj Posted on Nov 17, 2013
Answered by a Fixya Expert

Trustworthy Expert Solutions

At Fixya.com, our trusted experts are meticulously vetted and possess extensive experience in their respective fields. Backed by a community of knowledgeable professionals, our platform ensures that the solutions provided are thoroughly researched and validated.

View Our Top Experts

Write a program to print all the odd numbers from 1 to 100.

1 Answer

kakima

Level 3:

An expert who has achieved level 3 by getting 1000 points

One Above All:

The expert with highest point at the last day of the past 12 weeks.

Top Expert:

An expert who has finished #1 on the weekly Top 10 Fixya Experts Leaderboard.

Superstar:

An expert that got 20 achievements.

  • Computers & ... Master 102,366 Answers
  • Posted on Nov 17, 2013
kakima
Computers & ... Master
Level 3:

An expert who has achieved level 3 by getting 1000 points

One Above All:

The expert with highest point at the last day of the past 12 weeks.

Top Expert:

An expert who has finished #1 on the weekly Top 10 Fixya Experts Leaderboard.

Superstar:

An expert that got 20 achievements.

Joined: Dec 16, 2009
Answers
102366
Questions
0
Helped
10433522
Points
622693

The following RPL program will display all the odd numbers from 1 to 100:

<< 1 99 FOR I I 1 DISP 2 STEP >>.

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
1answer

Magic Chef Microwave has stopped working. None of the buttons work. It's showing random numbers when you plug it in. I tried a different outlet and it gave me different numbers.

Try unplugging it for 24 hours. Plug it back in and see if this helped. If it's still the same, it needs a new control PCB (printed circuit board).
1helpful
1answer

How to take back to back printing in canon LBP 2900

Here are the steps in this process:
  1. Go to File menu and then select Print.
  2. Print dialog box will come up. ...
  3. Click OK to print all the pages in document that have odd numbers.
  4. Once printing of odd numbered pages is done, flip the stack of printed pages and put them back in tray.

http://techwelkin.com/print-two-sides-paper-without-duplex-printer
0helpful
1answer

ES 5300 only prints left side

From the program you print the document (MS Word, Acrobat Reader or another one?) go to File and select the Print... or Print Properties option (depending on what program you print from). Then, go through the option and look for an option that says something like "Print Odd Pages" or Print Even Pages". As you're describing the situation, it seems that either the program you use, or the printer control panel, is set to print only odd or only even pages. So you'll need to find this setting and switch to Print All Pages or something along those lines. The labels and wording of these settings depend on the program you want to print from, so expect that you'll need some looking around to do before you find this setting.
0helpful
2answers

CAn I print only odd numbered pages

No,this is not a feature of the Kodak all in one printer.You can still manually select the page number in printer settings while printing from ur application..
0helpful
2answers

Gray background only on odd number pages

your cartridge is defective.. just replaced a new one.
0helpful
1answer

Double sided printing Pixma MP520

here's how:

print double sided pages

1. Set your computer software for double sided printing if you have a printer that is compatible. Double sided printers are generally professional style machines, and most offices, schools and libraries will have them. On a PC, go to the drop down "File" menu and select "Double Sided Printing" under the "Preferences" or "Properties" window and print. If you have a MAC, click "Copies and Pages" under the "File" menu, select "Layout" and then click on "Long-Edged Binding" and print.
2.Print double sided with your standard home printer, again, by setting your PC writing software. When you are ready to print, click on the drop down "File" menu and select "Print." From the "Print" window select "odd pages only," or "even pages only."
3.Set your odd and even pages a bit differently if you are working with MAC writing software. Select "Print" from the drop down "File" menu and click on the arrow to drop the "Copies & Pages" menu. Under the "Copies & Pages" menu, select "Paper Handling" and then click on "Odd Numbered Pages" or "Even Numbered Pages."
4.Select "Odd Pages Only" or "Odd Numbered Pages" and then print as usual. It is a good idea to mark the top of your first page with a pencil so that you know the direction and side of the page your printer prints. Use the mark to determine how to turn your pages and place them back in the printer. Select "Even Pages Only" or "Even Numbered Pages" and print again. $('.Article .Steps .Image').each(function(i,e){ e = $(e); e.find('img').error(function(){ $(this).unbind(); e.remove(); }); });
0helpful
1answer

Odd or integer?

hmm here is a psuedo to consider

input number n
while
n = n / 2
if n = 0 then print n = even , break loop
if n < 0 then print n is odd
loop
0helpful
1answer

A java program that prints # then says whether the # is odd or even

int number = 10 //Insert the number here
if ((number % 2) == 0)  {  System.out.println(number+" is a even number);  } else {  System.out.println(number+" is a odd number); 
{
Let me know if you need a complete java class for this
Not finding what you are looking for?

52 views

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

Brad Brown

Level 3 Expert

19187 Answers

Cindy Wells

Level 3 Expert

6688 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...