This file contains hidden or 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
| All possible locales: | |
| en-IE = €1,205.34 | |
| ro-MD = 1.205,34 MDL | |
| br = ¤ 1 205,34 | |
| en-GY = $1,205 | |
| es-GT = Q1,205.34 | |
| shi-Tfng-M = 1 205,34MAD |
This file contains hidden or 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
| ddd |
This file contains hidden or 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 SwiftUI | |
| struct ContentView: View { | |
| @State var count: Int = 0 | |
| var body: some View { | |
| VStack(spacing:50.0) | |
| { | |
| Text("Number \(count)") | |
| .fontWeight(.bold) |
This file contains hidden or 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
| <?php | |
| $username="admin";//change username | |
| $password="admin"; //change password | |
| $host="localhost"; | |
| $db_name="databasename"; //change databasename | |
| $connect=mysqli_connect($host,$username,$password,$db_name); | |
| if(!$connect) | |
| { |
This file contains hidden or 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
| <?php | |
| include "config.php"; | |
| // REGISTER USER | |
| $name = mysqli_real_escape_string($connect, $_POST['name']); | |
| $email = mysqli_real_escape_string($connect, $_POST['email']); | |
| $mobile = mysqli_real_escape_string($connect, $_POST['mobile']); | |
This file contains hidden or 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 'dart:async'; | |
| import 'dart:convert'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:http/http.dart' as http; | |
| void main() => runApp(new MyApp()); | |
| String username=''; |
This file contains hidden or 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
| Future<List> senddata() async { | |
| final response = await http.post("http://raushanjha.in/insertdata.php", body: { | |
| "name": user.text, | |
| "email": pass.text, | |
| "mobile":mobile.text, | |
| }); | |
| var datauser = json.decode(response.body); |
This file contains hidden or 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 "dart:io"; | |
| main() | |
| { | |
| var num,factorial=1; | |
| stdout.write("Enter a number"); | |
| num=int.parse(stdin.readLineSync()); | |
| for(int i=1;i<=num;i++) | |
| { | |
| factorial=factorial*i; |
This file contains hidden or 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 'dart:io'; | |
| main() | |
| { | |
| //WA Program to Swap Numbers Using Temporary Variable | |
| var num1,num2,temp; | |
| stdout.write("Enter first Number: "); | |
| num1=int.parse(stdin.readLineSync()); | |
| stdout.write("Enter Second Number: "); | |
| num2=int.parse(stdin.readLineSync()); |
This file contains hidden or 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
| main() | |
| { | |
| /*A leap year is exactly divisible by 4 except for century years (years ending with 00). | |
| The century year is a leap year only if it is perfectly divisible by 400.*/ | |
| var year=2019; | |
| if(year%4==0) | |
| { | |
| if(year%100==0) |
NewerOlder