Skip to main content

Posts

#loop #typesofloop What is loop | How to use loop | Type of loop | comp...

What is loop | Types of loop | When should you choose loop | when you decide to good for loop | What is the need of loop. If you want to know about the loop than learn to hear. I am going to introduce the loop. Q1.What is loop  Ans: Loop is a technique to execute a block of statements multiple times. we can if you want to execute the statement multiple times then keep this statement inside the loop. through the loop, we can reduce the length of the program and the complexity of the code. types of loop. Types of the loop:    Basically, the loop is two types of 1.exit control loop and the other one is 2.entery control loop    1.Exit control loop-        The loop which is control after execution than goes for the exit control loop.        like- do-while loop          class A{                     public static void main...

Top 100 Logical Question in java | Written test exam question | Logical programming question paper in java to crack the written test exam.

                                  The written  test exam question     If you want to crack the written test exam like TCS , INFOSYS , and WIPRO than you want these questions. this question is very useful for you if you are in college. before any drive for MNC  company you are readily forgiven the exam of this company so, this is for you. This question is very useful for developing logical skills in the programming language. If you want to become a good logical and standard coder than definitely this video for you don't miss this question. As you know logic is the power of the world if you have logic you can solve and find the solution to any type of problem. So, just focus on the logic noting else.         List of Question :       1. Write a Java program to print 'Hello' on screen and then print your name on a separate line. ...

#logicalcoding Write a program to print 1 to 100 number in java | Logic...

Write a program to print 1 to 100 number in java. If you want to become a part of step-by-step to become a logical programmer. Then this video and website for you. So join this website and my youtube channel and become a part of this event. I am going to discuss Java programming in java. become a java logical programmer in java. Software having knowledge about this logic and standard coding practice of these videos. How to become a logical programmer series. Question 3: Write a program to print 1 to 100 number in java. Take one value from the user and print the 1 to n number natural number in java. Code:     import java.util.Scanner; class Numberp  { public static void main(String[] args)  { Scanner sc=new Scanner(System.in); //System.out.println("Enter the Number:");don't used int n=sc.nextInt(); //Validate -ve,+ve,0 if(n<1){ System.out.println("Please enter Valid Number"); System.exit(0); } for(int i=1;i<=n...

#logicalcoding Add two Numbers. Write a program to take input from the ...

Write a program to take a number from the user and add this number to return the values. Step-by-step becomes a logical programmer. this series is very helping full for you. I am going to introduce how to write the logic for this application and program. You have to take the values from the user and add this number it is a simple program but how you do how many cases are satisfied in this logic it is matter. If you want this logic to watch this video. Hi Welcome to coding part :    I am going to introduce how to do this question in java. Code: //Description Addtion two number number,take from user import java.util.Scanner; class Addition  { public static float add(int a,int b){       //Logic for addition   float c=a+b;       return c; } public static void main(String[] args)  { int a,b; //Write logic for take the input form user Scanner sc=new Scanner(System.in); ...

Top 97 logical coding Question | for Freshers for getting a job in MNC Company | by er prince kumar

            Top 97 logical coding Question  for Freshers  If you do this you will become good logical programmers Write a Java program to perform input/output of all basic data types. Write a Java program to enter two numbers and find their sum. Write a Java program to enter two numbers and perform all arithmetic operations. Write a Java program to enter the length and breadth of a rectangle and find its perimeter. Write a Java program to enter the length and breadth of a rectangle and find its area. Write a Java program to enter the radius of a circle and find its diameter, circumference, and area. Write a Java program to enter the length in centimeter and convert it into meter and kilometer. Write a Java program to enter the temperature in Celsius and convert it into Fahrenheit. Write a Java program to enter the temperature in Fahrenheit and convert to Celsius Write a Java program to convert days into years, weeks and days....