import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int num=sc.nextInt(); int orginal=num; int fact=1; while(num>0){ fact=fact*num; num--; } System.out.print(+fact); } }
/****************************************************************************** Online Java Compiler. Code, Compile, Run and Debug java program online. Write your code in this editor and press "Run" button to execute it. *******************************************************************************/ import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int num=sc.nextInt(); int orginal=num; int digit; int reverse=0; while(num>0){ digit=num%10; reverse=reverse*10+digit; num=num/10; } if(orginal==reverse) { System.out.print("is a palindrom"); } else{ System.out.print("is a not palindrom"); } } }
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int num=sc.nextInt(); int a=0; int b=1; int count=0; while(count<num){ System.out.print(a+" "); int c=a+b; a=b; b=c; count++; } }}
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int num=sc.nextInt(); int ornum=num; int sum=0; while(num>0){ int digit=num%10; //int sum=0; sum= sum + (digit * digit * digit); num=num/10; }if(ornum==sum){ System.out.println("Is a armstrong"); } else{ System.out.println("Is a not armstrong"); } } }
GENERALLY FARMERS ARE SUFFERING TO TAKE SEEDS IN COCO FRUIT WE CAN GIVE SOME SOLUTION IS "COCO MACHINE PROTO TYPE" 1.FIRST ALL FRUITS ARE GRATHER AND PUT IN TO HOOKER 2.NEXT STEP CUT THE FRUIT WITH PICES MIXED PULP AND SEEDS 3.NEXT SEPARATE THE PULP AND SEEDS BY ARTIFICIAL INTELLIGENCE THESE CAN COMBINED BY HARDWARE AND SOFTWARE Benefits to Farmers Reduces manual labor Saves time and cost Prevents seed damage Improves seed recovery efficiency Suitable for small and medium-scale farmers
if whether='sunny' if whether=='sunny': print("I WILL GO OUT SIDE") if else whether=str(input("enter your whether. ")) if whether=='sunny': print("I WILL GO OUT SIDE") else: print("iwill not go out side") if elif else whether=input("enter your whether ") if whether=='sunny': print("I WILL GO OUT SIDE") elif whether=='hot': print("iwill not go out side") elif whether=='cold': print("i will play in side") else: print("sleep")
what is cloud computing? It is a store data through internet it means Cloud computing is the on-demand delivery of computing services, like servers, storage, databases, networking, software, and analytics, over the internet, allowing users to access resources and applications without needing to manage the underlying infrastructure.
If your human read this Education is not important in agriculture.but smartness in farming can through education like 1.aurdino uno https://www.google.com/imgres?q=smart%20irrigation%20system%20using%20iot&imgurl=https%3A%2F%2Fcircuitdigest.com%2Fsites%2Fdefault%2Ffiles%2Fcircuitdiagram_mic%2FCircuit-Diagram-for-IoT-based-Smart-Irrigation-System-using-Soil-Moisture-Sensor-and-ESP8266-NodeMCU.png&imgrefurl=https%3A%2F%2Fcircuitdigest.com%2Fmicrocontroller-projects%2Fiot-based-smart-irrigation-system-using-esp8266-and-soil-moisture-sensor&docid=qERVGzVwDsbH6M&tbnid=sGZvkxG5rFdjGM&vet=12ahUKEwjG8tPoqKWMAxVbzTgGHVtTCEMQM3oECEYQAA..i&w=1062&h=908&hcb=2&ved=2ahUKEwjG8tPoqKWMAxVbzTgGHVtTCEMQM3oECEYQAA