answersLogoWhite

0

/* program without if statement */

#include<stdio.h>

#include<conio.h>

void main()

{

int a,c;

float b;

clrscr();

printf("Enter the value \n");

scanf("%f",&b);

a=c;

c=a%10;

printf("the right most digit is %d",c);

getch();

}

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

What program did the supplemental nutrition assistance program replace?

The Supplemental Nutrition Assistance Program (SNAP) replaced the Food Stamp Program. The transition occurred in 2008, aiming to modernize and streamline food assistance while providing more efficient access to benefits. SNAP continues to ensure that eligible low-income individuals and families have access to nutritious food.


Write a c program using string concept enter a sting and replace the new string in to old string and find no of occurrence?

print c co com comp compu


List three situations in which you might want to create a restore point?

1. Before you make major chages 2. Before you install a new program (incase it doesn't run, that way u can go back to the way the coputer was be for program was installed) 3. Before you replace a old program with a new one (the new one may not work as well as the old one)


How you get the size of arrays from user?

in c simply add three lines in the begining of your program: int x; printf("enter the size of the array to be entered :"); scanf("%d",&amp;x); after that use x as your maximum limit of array in your program. in c++ just replace above printf &amp; scanf statements by cout&lt;&lt;"enter the size of the array to be entered :"; &amp; cin&gt;&gt;x; respectively and do not use brackets.


Modify the convert. py program with a loop so tht it excutes 5 times before quitting?

To modify the convert.py program to execute a block of code five times before quitting, you can wrap the relevant code in a for loop. Here’s a simple example: for _ in range(5): # Your conversion code here This loop will execute the specified code five times. Ensure to replace the comment with the actual conversion logic present in your program. After the loop, you can include any necessary cleanup or exit statements if needed.

Related Questions

Which program is meant to replace SSH?

There is no particular program meant to replace SSH. SSH is considered a modern and secure program, so there is no reason to replace it.


Which program did the Supplemental Nutrition Assistance Program replace?

food stamp program


How do you replace starter solenoid harley dividson 1995?

If you mean a Harley-Davidson from 1995, you don't. The solenoid is an integral part of the starter. However, there are kits available to replace some of the solenoid parts.


Where is the voltage regulator located on a 1999 Jeep Cherokee sport 4.0 L 4x4. Is it internal or an external?

In your PCM not the alternator Its built in the alternator be sure that you replace the alt with the same amp. alt it could be a 90 or 124 amp alternator. Replace the belt while you have the alternator off.


What is going to replace spaceshuttles in the future?

The Orion space program.


What is the integral of e raised to the square root of x divided by the square root of x?

replace square root o x with t.


How do you create a shell program?

The same way you create any other program, by designing it and then coding it. A shell program is no different to any other program in terms of how it is created. Its purpose is simply to provide access to the applications and utilities, perhaps organise them in some way, and to present key system components such as a clock or calendar, as well as system notifications from background services. In Microsoft Windows, for instance, Windows Explorer is the default shell program and this provides a desktop, taskbar, start menu and notification area. However, only the first instance of Explorer provides the shell. All other instances of Explorer simply open navigation windows. But while you cannot replace Windows Explorer itself (it is an integral part of the operating system), you can replace the shell component.


What are the benefits of installing a floating floor in a basement?

Installing a floating floor in a basement can provide benefits such as improved moisture resistance, easier installation over uneven surfaces, better insulation, and the ability to easily replace damaged sections.


How do you replace starter solenoid on Honda Element?

The starter solenoid on a Honda Element is integral to the starter. It cannot be replaced without replacing the starter as well.


How do you program a polar start model ps3025sh?

replace that old relic!


Why was it necessary for fritz haber to develop the synthetic ammonia?

It might have been to replace nitrogen.


Inground fiberglass pool skimmer leaks needs repair or replacement?

It would be easier to replace with a floating skimmer Check poolrite dragonfly