Home
»
Lab 02
»
Given a = 5, b = 1, x = 10, and y = 5, create a program that outputs the result of the formula f = (a b)(x y) using a single printf() function
Categories
array
assembly language
assembly language programs
C Language
C Programs
C++ Language
C++ Programs
class
conditional operator
Dynamic Memory Allocation
File Handling
functions
if else
Lab 01
Lab 02
Lab 03
Lab 04
Lab 05
Lab 07
Lab 08
Lab 09
Lab 10
Lab 11
Lab 12
lecture 01
lecture 02
lecture 03
lecture 04
lecture 05
lecture 06
lecture 07
lecture 08
Loops
macro
overload
pointers
strings
struct
switch statement
Tutorial
Popular Posts
-
Hint: Area of rectangle = length * breadth Perimeter of a rectangle is the sum of the lengths of all the sides of the re...
-
Problem Write a program that asks the user to input marks of some subjects. The program calculates sum and average of those marks and ...
-
Code #include<stdio.h> int main() { float t,t1,t2,t3; int m1,m2,m3; printf("\nInput notes in hundreds"); scanf(...
-
Problem Write a menu driven program that depicts the working of a library. The menu options should be: Add book information Display ...
-
Problem Write a menu driven program that depicts the working of a library. The menu options should be: Add book information Displa...
-
Instructions Instructions are statements that execute when we assemble the program. The instructions (written in assembly language) are ...
-
Problem Write a program that compares two given dates. To store date use structure say date that contains three members namely date, m...
-
Advantages and Disadvantages of Assembly Language Let’s discuss few advantages and disadvantages of a level 3 i.e. assembly language. ...
-
Problem Write macro definitions with arguments for calculation of area and perimeter of a triangle, a square and a circle. Store these...
-
If you are interested in writing code on command prompt and like writing code in command prompt than this tutorial is for you. Debugging ...
No comments :
Post a Comment
Note: Only a member of this blog may post a comment.