Posts
Showing posts from September, 2021
Write a C Program to check if given character is digit or alphabet.
- Get link
- X
- Other Apps
Important things to remember in c programing
- Get link
- X
- Other Apps
For Header File always use the #include <stdio.h> and #include <conio.h> Also for taking a variable from user scanf("%d", &num); Read integer number using '%d' printf("Entered number is %d", num); // Displaying 'num' on screen In C programming language, %d and %i are format specifiers as where %d specifies the type of variable as decimal and %i specifies the type as integer. More and more is added
Program to calculate simple interest in c program
- Get link
- X
- Other Apps
Program to calculate simple interest yaha per * ye dena jaruri he warna error ayega or mene float use kiya he #include int main () { float p, t, r, si; printf ("Enter p"); scanf ("%f", &p); printf ("Enter t"); scanf ("%f", &t); printf ("Enter r"); scanf ("%f", &r); si = (p * t * r) / 100; printf ("Simple int are= %f", si); return 0; }
Program of Transcersal in c lang of Data Structure
- Get link
- X
- Other Apps
Program of Transcersal in c lang of Data Structure //Program of Transcersal in c lang of Data Structure #include <stdio.h> #include <conio.h> int main() { int a[50],size,i; printf("enter size of array:"); scanf("%d", &size); printf("ENTER element of array:"); for (i=0; i<size; i++) { scanf("%d", &a[i]); } printf("ele in array are:"); for (i=0; i<size; i++) { printf("%d", a[i]); } return 0; } input 2 12345 Output enter size of array: ENTER element of array: ele in array are:123450
Java using Increment operator
- Get link
- X
- Other Apps
Java increment operator on 13/09/2021 //Java using increment operator public class Main { public static void main(String[] args) { int a=10; int b=20; int c,d; c=b++; d=++a; c++; System.out.println("a ="+a); System.out.println("b ="+b); System.out.println("c ="+c); System.out.println("d ="+d); } } a =11 b =21 c =21 d =11 ...Program finished with exit code 0 Press ENTER to exit console.
How to take screenshot in laptop
- Get link
- X
- Other Apps
How to take screenshot in laptop How to take a screenshot on Windows 10 with the PrtScn key For taking a screenshot in laptop there is many ways such as : For taking screenshot in laptop there is a key to press such as : Press Windows key + Alt + PrtScn keys This butten is to press to take a Screenshot Press the Windows key + Shift + S . The screen will dim and the mouse pointer will change. You can drag to select a portion of the screen to capture. The screenshot will be copied to the clipboard, which you can paste into another program. (This shortcut only works if you have the latest version of Windows 10 installed, called the Windows 10 Creators Update.) Press the Windows key + PrtScn. This saves the entire screen as an image file. You can find it in the "Pictures" folder, in a subfolder called "Screenshots.