Page not found
Search results
Factorial program in Java
Java program to find factorial of a number, if the number is negative, then an ... || []).push({}); Factorial of a number in Java import java.util.Scanner ; class Factorial { public ...
Yogesh Suneja - 05/12/2019 - 00:13
Reverse a string in Java
Java program to reverse a string that a user inputs. The charAt method is used ... = window.adsbygoogle || []).push({}); Java program to reverse a string import java.util.* ; class ReverseString { public static ...
Yogesh Suneja - 05/12/2019 - 00:42
Java program to add two numbers
Java program to add two numbers, a user enters two integers, and we calculate ... || []).push({}); Addition of two numbers in Java import java.util.Scanner ; class AddNumbers { public ...
Yogesh Suneja - 04/12/2019 - 19:35
textcolor in C
... || []).push({}); C programming code to change text color #include<stdio.h> #include<conio.h> ... return 0 ; } C programming code for blinking text #include<stdio.h> #include<conio.h> ...
Yogesh Suneja - 03/10/2018 - 17:42
C++ inline function program
... inline before defining the function. C++ programming code #include <iostream> using namespace std ; ... 0 ; } } C++ programming code for inline function using class #include <iostream> using ...
Yogesh Suneja - 20/03/2018 - 11:16
ellipse and fillellipse functions
... it with current drawing color and pattern. C programming code for ellipse #include<graphics.h> main ( ) { ... return 0 ; } C programming code for fillellipse #include<graphics.h> main ( ) { ...
Yogesh Suneja - 11/01/2018 - 23:19
C program to generate random numbers
... || []).push({}); C programming code using rand We use modulus operator in our program. If you evaluate a % ... seed = 1 if you do not use srand function. C programming code using random function (Turbo C compiler only) Function randomize is ...
Yogesh Suneja - 29/09/2018 - 15:28
C program to swap two numbers
... return 0 ; } C programming code to swap using bit-wise XOR #include <stdio.h> int main ...
Yogesh Suneja - 19/11/2019 - 09:06
Interface in Java
Interface in Java: Java interfaces are like Java classes, but they contain only static final constants and declaration of ...
Yogesh Suneja - 05/12/2019 - 08:26
If else program in Java
The if-else Java program uses if-else to execute statement(s) when a condition holds. Below ... a simple application that explains the usage of if-else in Java programming language. In the program, a user input marks obtained in an ... programming if else statement // If else in Java code import java.util.Scanner ; class IfElse { ...
Yogesh Suneja - 04/12/2019 - 00:32