Posts

Showing posts with the label division of two number

Singly Linked List in C with Code and Explanation

Image
                        Singly LinkedList (SLL)   A Singly Linked List is a linear data structure where each element (called a node ) points to the next node in the sequence.  It is a dynamic structure , meaning it can grow or shrink in size during runtime .  Structure of a Node:  Each node contains: - Data : The value stored in the node. - Next : A pointer / reference to the next node in the list . There are Five operation in SLL: 1) Insert - Insert the element in our node like, insert(34);                                                                            insert(3);                                       ...

By using CSS make a card in easy way with the help of HTML

How to make card with the help of CSS and HTML ..... This code can help to make in a proper way of your card using CSS and HTML. <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < meta name = "viewport" content = "width=device-width, initial-scale=1.0" >     < title > Document </ title >     < style >     * {         margin : 0 ;         padding : 0 ;             }     .cards {         display : flex ;         justify-content : center ;         flex-wrap : wrap ;         margin-top : 30px ;         row-gap : 30px ;         column-gap : 30px ;             }     .list1 {         display : flex...

How to Make Calculator by using "switch case" in c language.

How to Make Calculator   In c language we can make small calculator by using " Switch case". Switch case is more understanding as compared to" if......else " case, it is also minimize the block of code and easy to use any where. Let's Understand. #include <stdio.h> int main () { //operator like (+,-,*,/) using in switch case :       char choice;     double a, b,c;           printf ( "Enter the any one operator + , - , * , /:" );     scanf ( " %c " , & choice);     switch (choice)     {       case '+' :         printf ( "Enter two number for addition:" );         scanf ( " %lf%lf " , & a, & b);         c = a + b;         printf ( "Addition of two number is %lf\n " ,c);         break ;     case '-' :         printf ( "Enter two number ...

C Program to Write Square of any Number - Aman The Programmer

Image
Calculate Square of any Number: This Program is allowed to user, enter the number and get Square of that number. This program makes easy to calculate Square of any Number ......  https://youtu.be/9XJq-RYcYYo?si=XB6UVDBnHKjUsQh3 #include <stdio.h> int main () {     int number, square;     printf ( "enter the integer:" );     scanf ( " %d " , & number);     square = number * number;     printf ( "the square of %d is %d " , number , square);     return 0 ; } Output: Click here to get more Source Code:   https://amantheprogrammer.blogspot.com/2024/10/html-code-for-beginners.html https://youtu.be/iGJtLh0lsZo https://youtube.com/@amantheprogrammer?si=O8SGDjNhKTD5Xs-N

HTML code for Beginners

Image
First HTML code: Code: <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < meta name = "viewport" content = "width=device-width, initial-scale=1.0" >     < title >Bassic HTML COde</ title > </ head > < body > < b >< center > Basic HTML Code Learn with Aman The Programmer</ center ></ b > </ body > </ html > OUTPUT:       Basic HTML Code Learn with Aman The Programmer CLICK HERE: https://amantheprogrammer.blogspot.com/2024/10/write-any-table-by-using-programming.html

Write any Table by using Programming

You can write any table of any number code : #include <stdio.h> int main () {     int i,number;     printf ( " Enter the number :" );     scanf ( " %d " , & number);     for (i = 1 ; i <= 10 ; i ++ )     {         printf ( " %d\n " , i * number );     }     return 0 ; } Output:   Enter the number : 8 //you can enter any number 8 16 24 32 40 48 56 64 72 80  Click the Link,Practice more Problem: https://amantheprogrammer.blogspot.com/2024/10/division-of-two-number-in-c-language.html

Division of Two Number in c language ?

        Let's Start the Coding for Division                                                              Code: #include <stdio.h> int main () {  /* division of two number*/     int a, b, c;     printf ( "enter two number for division:" );     scanf ( " %d %d " , & a, & b);     c = a / b;     printf ( "Division of two number is %d Divide %d = %d " , a, b, c);     return 0 ; } Output: enter two number for division:4 2 Division of two number is 4 Divide 2 = 2 Click here , For more coding practice: https://amantheprogrammer.blogspot.com/2024/10/multiplication-of-two-number-by-using-c.html