Posts

Current affairs......2020

Image
currents affairs Wrestler-turned-actor Dwayne Johnson has been named Instagram's highest-paid celebrity, the title which was earlier held by Kylie Jenner and Selena Gomez The 48-year-old star charges approximately USD 1,015,000 (Rs 7,59,93,050) for a sponsored post According to a BBC report, Kylie Jenner, who earlier held the position, used to charge USD 1.2 million (Rs 8,98,44,000) for a As of now, while Kylie has 184 million followers, and Johnson has 189 million followers.  Before this, Dwayne Johnson was also named Hollywood's highest-paid actor of 2019 by Forbes.   Internet search giant Google has relaunched its social networking platform Google+ as Currents. The company has rebranded the app to Google Currents on both Google Play Store and Apple App Store. The Google Play Store listing describes the app as a place where people can connect with their colleagues, exchange documents, interact with like-minded people who have similar interests.  In April 2019, a Google spok...

Network theory notes-module5

Image
                                  (  MODULE-5) 5 Introductionof passivefilterandtheirclassification, frequencyresponse,Char- acteristicimpedance oflowpass,highpass,Band PassandBand reject prototypesection . SOME SUGGESTED LINKS FROM YOUTUBE- PASSIVE FILTERS-https://youtu.be/Tr8oBLyNmXc CHARACTERSTIC IMPEDANCE OF HIGH PASS FILTERS-https://youtu.be/8dBMcWybfOw, https://youtu.be/8dBMcWybfOw 3.LOW PASS FILTER-https://youtu.be/MMdfepnQJ5I 4,BAND PASS FILTER-https://youtu.be/kva4qak9vf4 ;;;https://youtu.be/dmPIydL0lyM

wap to make atm machine. #JAVA

import java.util.Scanner;  class AtmMachine  {     private static Scanner in ;     private static float balance = 0; // initial balance to 0 for everyone     private static int anotherTransaction;     public static void main(String args[]) {         in = new Scanner(System.in);         // call our transaction method here         transaction();     }     private static void transaction() {                  int choice;         System.out.println("Please select an option");         System.out.println("1. Withdraw");         System.out.println("2. Deposit");         System.out.println("3. Balance");         choice = in .nextInt();         switch (choice) {           ...

wap to calculate area of triangle

//wap to calculate area of triangle import java.util.Scanner; class triangle  {    public static void main(String args[])      {                  Scanner s= new Scanner(System.in);                   System.out.println("Enter the width of the Triangle:");          double b= s.nextDouble();            System.out.println("Enter the height of the Triangle:");           double h= s.nextDouble();                     //Area = (width*height)/2       double area=(b*h)/2;       System.out.println("Area of Triangle is: " + area);          } }

Java Program to find Power of a Number

// Java Program to find Power of a Number import java.util.Scanner; public class power  { private static Scanner sc; public static void main(String[] args)  { int number, i, exponent; long power = 1; sc = new Scanner(System.in); System.out.print(" Please Enter any Number : "); number = sc.nextInt(); System.out.print(" Please Enter the Exponent Value : "); exponent = sc.nextInt(); for(i = 1; i <= exponent; i++) { power = power * number; } System.out.println("\n The Final result of " + number + " power " + exponent + " = " + power); } }

wap to find a factorial of a number

public class factorial  {     public static void main(String[] args) {         int num = 10;         long factorial = 1;         for(int i = 1; i <= num; ++i)         {             // factorial = factorial * i;             factorial *= i;         }         System.out.printf("Factorial of %d = %d", num, factorial);     } }

wap to display a no is prime or not

import java.util.Scanner; public class prime {     public static void main(String args[])     {         int num, i, count=0;         Scanner scan = new Scanner(System.in);         System.out.print("Enter a Number : ");         num = scan.nextInt();         for(i=2; i<num; i++)         {             if(num%i == 0)             {                 count++;                 break;             }         }         if(count == 0)         {             System.out.print("This is a Prime Number");         }         else         {  ...