npm init -y
npm i typescript ts-node-dev @types/node -D
-- Branches table | |
CREATE TABLE tblBranch ( | |
branchId VARCHAR(255) PRIMARY KEY, | |
branchName VARCHAR(255) NOT NULL, | |
building VARCHAR(255), | |
other VARCHAR(255) | |
); | |
-- Students Table | |
CREATE TABLE tblStudent ( | |
studentId INT PRIMARY KEY, |
; Program to multiply two 8 bit numbers | |
LDA 2000H | |
MOV B, A | |
LDA 2001H | |
MOV C, A | |
MVI A, 00H | |
LOOP: ADD C |
<!-- design a web page using html for online railway ticket booking --> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Railway Ticket Booking</title> | |
<style> | |
* { | |
font-family: sans-serif; | |
} | |
</style> |
import java.util.Scanner; | |
class Trip { | |
String source, destination; | |
String startDate; | |
int noOfDays; | |
Trip(String s, String d, String sd, int nod) { | |
source = s; | |
destination = d; |
#include <stdio.h> | |
int n = 5; | |
int arr[5]; | |
void print() | |
{ | |
for (int i = 0; i < n; i++) | |
{ | |
printf("%d :- %d\n", i, arr[i]); |
#include <stdio.h> | |
int is_alphabet(char letter) | |
{ | |
if (letter >= 'a' && letter <= 'z') return 1; | |
if (letter >= 'A' && letter <= 'Z') return 1; | |
return 0; | |
// we don't need else because we are returning | |
} |
SELECT | |
student_id | |
FROM | |
studies | |
WHERE | |
subject_id NOT IN (101, 103, 105) | |
SELECT | |
student_id | |
FROM |
/* eslint-disable no-restricted-globals */ | |
// This service worker can be customized! | |
// See https://developers.google.com/web/tools/workbox/modules | |
// for the list of available Workbox modules, or add any other | |
// code you'd like. | |
// You can also remove this file if you'd prefer not to use a | |
// service worker, and the Workbox build step will be skipped. | |
import { clientsClaim } from 'workbox-core'; |
You can write the solution in the replies and also on the blog.