Note: every problem solved individually and having outputs
Problem 1--Print Positive message
/*
problem 1--
prgram in C to print message Positive
*/
#include <stdio.h>
//main function start here
int main()
{
int num;
printf("Enter the Integer number :");
scanf("%d", &num);
/*
checking a number is positive
*/
if(num >= 0)
printf("Positive");
return 0;
}
OUTPUT:

problem 2-- Print positive or negative message
/*
problem 2--
prgram in C to print message Positive or Negative message
*/
#include <stdio.h>
//main function start here
int main()
{
int num;
printf("Enter the Integer number :");
scanf("%d", &num);
if(num >= 0)
printf("Positive");
else
printf("Negative");
return 0;
}
OUTPUT:

problem 3-- Respond to menu choice
/*
problem 3--
prgram in C to Respond to menu choice
*/
#include <stdio.h>
//main function start here
int main()
{
char choice;
printf("**************\n");
printf("Menu :\n");
printf("N New Game\n");
printf("L Load Game\n");
printf("O Options\n");
printf("Q Quit\n");
printf("**************\n");
printf("Enter the choice :");
scanf("%c",&choice);
/*
To checking the choice of the user
*/
if(choice == 'n' ||choice == 'N')
printf("Starting");
else if(choice == 'l' ||choice == 'L')
printf("Loading");
else if(choice == 'o' ||choice == 'O')
printf("Options");
else if(choice == 'q' ||choice == 'Q')
printf("Quitting");
else
printf("Invalid");
return 0;
}
OUTPUT:



Problem 1 - Print positive message Create a new project named whatever you want in Visual...
Objectives: Integer arithmetic, Functions, menus. Write a C++ program that displays the following menu of choices. 1. Find the number of digits in an integer. 2. Find the nth digit in an integer. 3. Find the sum of all digits of an integer. 4. Is the integer a palindrome? 5. Quit Enter a choice: Page 1 of 4 For each of the choices (1, 3, 4), Read a positive integer number and call a function that processes the menu choice...
IN JAVA Overview In this project you will implement a Java program that will print several shapes and patterns according to uses input. This program will allow the use to select the type (say, rectangle, triangle, or diamond), the size and the fill character for a shape. All operations will be performed based on the user input which will respond to a dynamic menu that will be presented. Specifically, the menu will guide the user to decide between different forms...
C++ programming For this assignment, write a program that will act as a geometry calculator. The program will be menu-driven and should continue to execute as long as the user wants to continue. Basic Program Logic The program should start by displaying a menu similar to the following: Geometry Calculator 1. Calculate the area of a circle 2. Calculate the area of a triangle 3. Quit Enter your choice(1-3): and get the user's choice as an integer. After the choice...
CSC 130 Lab Assignment 8 – Program Menu Create a C source code file named lab8.c that implements the following features. Implement this program in stages using stepwise refinement to ensure that it will compile and run as you go. This makes it much easier to debug and understand. This program presents the user a menu of operations that it can perform. The choices are listed and a prompt waits for the user to select a choice by entering a...
Please, I need help, I cannot figure out how to scan variables
in to the function prototypes!
******This is what the program should look like as it runs but I
cannot figure out how to successfully build the code to do
such.******
My code:
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <math.h>
#include <conio.h>
float computeSeriesResistance(float R1, float R2, float R3);
float computeParallelResistance(float R1, float R2, float
R3);
float computeVoltage(int current, float resistance);
void getInputR(float R1, float R2, float R3);
void getInputCandR(int...
I really need help on this programming problem that am doing in Visual Studio 2019 in C++ Submit your .cpp file as well as the input file, the output file, and the screen shot of all the files tiled next to each other here! Instructions: Write a menu driven program that has three options: Option 1: Write a function that calculates the tax for an iphone. The price and the tax rate should be asked from the user. Input validation:...
C++ (1) Prompt the user to enter a string of their choosing (Hint: you will need to call the getline() function to read a string consisting of white spaces.) Store the text in a string. Output the string. (1 pt) Ex: Enter a sample text: We'll continue our quest in space. There will be more shuttle flights and more shuttle crews and, yes, more volunteers, more civilians, more teachers in space. Nothing ends here; our hopes and our journeys continue!...
***In C Programming*** TASK 1: Complete itinerary.h Create a struct Destination that represents a node in a liked list. It contains the three letter airport code and a pointer to the next node int the linked list. You will need to write this struct. This file also includes the prototypes. They have all been written for you. There is no need to add the function comments for the prototypes. TASK 2: Write all functions in itinerary.c Write the following functions, which...
VERY URGENT*** THANK YOU IN ADVANCE: THIS IS THE CODE I HAVE GOTTEN SO FAR: PYTHON This is a code that is supposed to help someone study/ practice for jeopardy. The two functions described below are required for this assignment. You may add other functions that you think are appropriate: menu() This function, which displays all the user options to the screen, prompt the user for their choice and returns their choice. This function will verify user input and ALWAYS...
Hello Guys. I need help with this its in java In this project you will implement a Java program that will print several shapes and patterns according to uses input. This program will allow the use to select the type (say, rectangle, triangle, or diamond), the size and the fill character for a shape. All operations will be performed based on the user input which will respond to a dynamic menu that will be presented. Specifically, the menu will guide...