answersLogoWhite

0

#include <stdio.h>

int main() {

printf("the answer is 42");

}

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

Term paper for scientific calculator in c plus plus?

You need to write your own term paper...


What is the source code for scientific calculator in c?

What is the source code for scientific calculator in c?Read more: What_is_the_source_code_for_scientific_calculator_in_c


What are the Example Output of Calculator Program in C plus plus?

example output of c++ calculator


How do you make trigonometric calculator in c plus plus?

include file math.h and you get most C++ functions for trigonometry, for instance,sin(), cos(), tan(), asin(), acos(), and atan() etc.


How should you design a scientific calculator using C plus plus?

The easiest way to implement a calculator is an RPN calculator (enter the numbers first, perform the operation last). You need a last-in-first-out stack (there's a "stack" class in C++, but you can also implement your own using an array or a linked list), and a set of functions that pop the last elements from the stack and push the result (e.g. Add() pops the last 2 values and pushes their addition).You'll need the math.h library for scientific operations.


What is 58 plus 44?

58 + 44 = 102 c: &hearts; (You can use a calculator)


Can you make a website with C plus plus?

You cannot make a website with C++.


Can you make programs of C in visual c plus plus?

Yes.


How can you write a fraction in a graphing calculator?

You can add fractions if you have a scientific calculator. All you have to do is press the b/c button. If you don't have one, you could always turn the fraction into a decimal.


How to use nCr on a scientific calculator?

If you're using the Casio Scientific Calculator, then you should:-1. Enter the # (n)2. Press Shift3. Press the divide buttong (just above the - button)4. A C will appear5. Enter the # (r)


What has the author Harold C Schleicher written?

Harold C. Schleicher has written: 'A two-channel analog-to-digital converter for the Tektronix 909 Scientific Calculator'


What is the affective topic for minor project in C plus plus?

A one dimensional game can be one like casino or something like that. You can create program to simulate a battle between humans and zombies. Also You can make a advance calculator.