Friday, 20 September 2024

Write a program to check String is Equal or not using Javascript

 <!DOCTYPE html><html><head> <title>equal</title> <script type="text/javascript"> var i; i=0; for (var i = 1; i < 4; i++) { var s1="Savera"; var s2=prompt("enter the string") if (s1==s2) { alert("string is equal") } else { alert("string is not equal") } } </script></head><body></body></html&...

Write a program to Check Number Even or Odd using Javascript

 <!DOCTYPE html><html><head> <title>Even or odd</title></head><body><script type="text/javascript"> var n=prompt("Enter the number even or odd"); n=parseInt(n); if (isNaN(n)) { alert("Enter the number"); } else if(n==0) { alert("The number is zero"); } else if (n%2)  { alert("The number is odd"); } else { alert("The number is enen"); }</script></body></ht...

Write a program to Factorial Number Using Javascript

 <!DOCTYPE html><html><head> <title>factorial</title> <script type="text/javascript"> var a=prompt("Enter value"); var b=a; var c=a; for (var i = 2; i < a; i++) { c=c-1; b=b*c } alert(b) </script></head></html&...

Wite a program to Fiboncy Number Using Javascript

 <!DOCTYPE html><html><head> <title>fiboncci</title></head><body><script type="text/javascript"> var a=0,b=1,c,count; n=window.prompt("Enter the value generate fibonci"); var num=parseInt(n); document.writeln("<h1>Fiboncci sries for"+num+"terms</h1>"); count=1; document.writeln(+a+"<br>"+b); while(count<=num-2) { c=a+b; document.write("<br>"+c+"<br>"); a=b; b=c;  ...

Thursday, 19 September 2024

Write a Program to NOFRAME using html

 <!DOCTYPE html><html><head> <title>noframe</title></head><body style="background-color: gray;"><p>This window does not supperted your PC</p></body></html&...

Write a program to Armstrong Number using JavaScript

 <!DOCTYPE html><html> <head> <title>Armstrong number</title> </head> <body> <script type="text/javascript"> var b,z,c=0; var a=prompt("Enter a number"); z=a; while(z>0) { b=z%10; c=c+(b*b*b); z=parseInt(z/10); } if (a==c) alert("number is a Armstrong"); else alert("number is not Armstrong"); </script> </body> </html&...

Tuesday, 10 September 2024

Write a program to Adition Two number using javascript

<!doctype html><html><head><title>Add Two Numbers</title><script>  var numOne = 10;  var numTwo = 20;  var sum = numOne + numTwo;  document.write("Sum = " + sum);</script></head><body></body></html&...

Write Program to Clickable Dropdown menu using html

 <!DOCTYPE html><html><head><meta name="viewport" content="width=device-width, initial-scale=1"><style>.dropbtn {  background-color: #3498DB;  color: white;  padding: 16px;  font-size: 16px;  border: none;  cursor: pointer;}.dropbtn:hover, .dropbtn:focus {  background-color: #2980B9;}.dropdown {  position: relative;  display: inline-block;}.dropdown-content {  display:...

Write a program to Select Option using html

 <!DOCTYPE html><html><head><title>Select Option Program</title></head><body><h1>Select Option Program</h1>Select Your Language:<select><option>English</option><option>Hindi</option><option>Marathi</option></select><br><button>Click Me<button></body></html&...

Write a program Image using html

HTML Images SyntaxThe HTML <img> tag is used to embed an image in a web page.Images are not technically inserted into a web page; images are linked to web pages. The <img> tag creates a holding space for the referenced image.The <img> tag is empty, it contains attributes only, and does not have a closing tag.The <img> tag has two required attributes:src - Specifies the path to the...

Write a program to Select File using html

 <!DOCTYPE html><html><body><h1>Select File</h1>Select Your File: <input type="file"></body></html&...

Write a program to Video Tag using html

 <!DOCTYPE html><html><body><h1>The video element</h1><video width="320" height="240" controls>  <source src="movie.mp4" type="video/mp4">  <source src="movie.ogg" type="video/ogg">  Your browser does not support the video tag.</video></body></html&...

Write a program to Frame

<html><head>   <title>HTML Frames</title></head><frameset cols="25%,50%,25%">   <frame name="left" src="/html/top_frame.htm" />   <frame name="center" src="/html/main_frame.htm" />   <frame name="right" src="/html/bottom_frame.htm" />   <noframes>      <body>         Your browser does not support...

Friday, 6 September 2024

Write a program to Multiplication in C

 *******Write a program to Multiplication in C *******#include<stdio.h>#include<conio.h>void main(){clrscr();  //Previous screen clearint a,b,c;printf("Enter Two Num:");scanf("%d %d",&a,&b);c=a*b;printf("The Multiplication is %d\n",c);getch();} *********************************Output *************************************Enter Two Num: 5 5The Multiplication is ...

Write a program to Division in C

 *******Write a program to Division in C *******#include<stdio.h>#include<conio.h>void main(){clrscr();  //Previous screen clearint a,b,c;printf("Enter Two Num:");scanf("%d %d",&a,&b);c=a/b;printf("The Division is %d\n",c);getch();}===================================Output=================================Enter Two Num: 10 5The Division is...

Write a program to Subtraction in C

 *******Write a program to Subtraction in C *******#include<stdio.h>#include<conio.h>void main(){clrscr();  //Previous screen clearint a,b,c;printf("Enter Two Num:");scanf("%d %d",&a,&b);c=a-b;printf("The Sub is %d\n",c);getch();}*************************************Output****************************************Enter Two Num : 10 5The Sub is :...

Write a program Addition Two Number in C

#include<stdio.h>#include<conio.h>void main(){clrscr();  //Previous screen clearint a,b,c;printf("Enter Two Num:");scanf("%d %d",&a,&b);c=a+b;printf("The Sum is %d\n",c);getch();}Output:******************************************Enter Two Num:2   2The Sum is...

Data Science using Spreadsheet Software Assignment 3

Printing Workbooks select the cells you want to print and then set that area as the print area   Steps to set a print area: Select the cells...