This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.swing.*; | |
import java.awt.*; | |
import java.awt.event.*; | |
public class netAmount_Calculator extends JFrame | |
{ | |
private Label billAmount,modeOfPayment,Discount,netAmount; | |
private Button discountButton,netAmountButton,Stop; | |
private TextField billAmount_tf,modeOfPaymnet_tf,Discount_tf,netAmount_tf; | |
private JComboBox cb; | |
String mode_of_payment[]={"Cash","Cheque","Credit Card"}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
func main(){ | |
var A[25] int | |
var n, pos, el, temp, mid, first, last int | |
fmt.Println("Number of elements <=25:") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import bs4 | |
res = requests.get('https://learncodeonline.in') | |
soup = bs4.BeautifulSoup(res.text, 'lxml') | |
links = soup.find_all('a', href=True) | |
for i in links: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
void main() | |
{ | |
int n, A[25], i, el, pos, choice, position, index = 0; | |
char cont='y'; | |
printf("Number of elements:"); | |
scanf("%d", &n); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http = require('http'); | |
//module_one = require('./module_one.js'); | |
module_two = require('./module_two.js'); | |
http.createServer((request, response) => | |
{ | |
response.writeHead(200, {'Content-Type':'text/plain'}); | |
response.write(module_two.myVariable); | |
module_two.myFunction(); | |
response.end(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head/> | |
<body> | |
<h1> This is a webpage rendered by Node JS. </h1> | |
</body> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> Index Page </title> | |
</head> | |
<body> | |
<p> This is the index page. </p> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Plumsail</title> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main() | |
{ | |
int arr[20][20], i, j, k, m, n, temp; | |
printf("Number of rows and columns:\n"); | |
scanf("%d%d", &m, &n); | |
printf("\n\nInput elements to the matrix:\n\n"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import operator | |
import requests | |
import json | |
import twitter | |
from watson_developer_cloud import PersonalityInsightsV2 as PersonalityInsights | |
def analyze(handle): | |
twitter_consumer_key='QGi7GvLXA9N5pn9xfGOoSVdSx' |
OlderNewer