- Download the zip file
- Create an account on overleaf.com
- Click on the '''New Project''' Button on the left side
- Import the zip file that was given to you
- After opening, there will be an error shown. You can fix the error by clicking on '''Menu''' at the top-left corner.
- Set the compiler as XeLaTeX
- Edit the sections by double clicking the section which you want to change.
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
pragma solidity >=0.4.21 <0.7.0; | |
contract approvalContract{ | |
mapping(uint => Transaction) public transactions; | |
mapping(uint => Campaign) public campaigns; | |
uint public transactionCount = 0; | |
uint public campaignCount = 0; | |
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
// const readlineSync = require('readline-sync') | |
import { question } from 'readline-sync'; | |
type Operator = '+' | '-' | '*' | '/'; | |
const fNum: string = question('Enter first number: '); | |
const operator: string = question('Enter operator: '); // + , - , * , / | |
const sNum: string = question('Enter second number: '); |