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 'package:flutter/material.dart'; | |
void main() => runApp(Quizzler()); | |
class Quizzler extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
home: Scaffold( | |
backgroundColor: Colors.grey.shade900, |
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
function factorialize(3) { | |
if(3>1) | |
return 3*factorialize(2){ //**********This staten=ment gets executed SINCE 3 > 1 is true | |
if(2>1) | |
return 2*factorialize(1){ //**********This staten=ment gets executed SINCE 2 > 1 is true | |
if(1>1) | |
return 1*factorialize(0); | |
else | |
return 1; //**********This staten=ment gets executed SINCE 1 is not greater than 1 | |
}; |
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
function factorialize(num) { | |
if(num>1) | |
return num*factorialize(num-1); | |
else | |
return 1; | |
} | |
factorialize(3); |
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> | |
#include<cs50.h> | |
int penny(int n, int temp) | |
{ | |
if(n>=25){ | |
n -= 25; | |
temp++; |
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
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<div class="container-fluid bg"> | |
<h3 class="text-center">Who Am I ?</h3> | |
<div class="div1 text-center"> | |
<div class="div2"> | |
</div> |