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 <iostream> | |
using namespace std; | |
int main() | |
{ | |
// deklarasi variabel | |
int jk; | |
float berat, tinggi, bmi, broca, meter; | |
cout << "Program C++ Menghitung Berat Badan Ideal" << endl; |
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 <iostream> | |
#include <string> | |
#include <vector> | |
using namespace std; | |
// Struktur untuk menyimpan data mahasiswa | |
struct Mahasiswa { | |
string nama; | |
float nilaiUTS; |
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 <iostream> | |
#include <stdlib.h> | |
using namespace std; | |
int ordo[5][5]; | |
void masukkan(int a, int b, int c) | |
{ | |
for (int i = 1; i <= 4; i++) | |
{ | |
for (int j = 1; j <= 4; j++) |
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 <iostream> | |
#include <string> | |
#include <vector> | |
using namespace std; | |
struct Electronic | |
{ | |
string code; | |
string title; | |
}; |
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 <iostream> | |
using namespace std; | |
string separator() | |
{ | |
string value = ""; | |
for (int i = 0; i < 10; i++) | |
{ | |
value = value + "==========="; | |
} |
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
Future<bool> isOldVersion(BuildContext context) async { | |
PackageInfo packageInfo = await PackageInfo.fromPlatform(); | |
FirebaseRemoteConfig remoteConfig = FirebaseRemoteConfig.instance; | |
Map<String, dynamic>? config; | |
bool retVal = false; | |
try { | |
await remoteConfig.setConfigSettings(RemoteConfigSettings( | |
fetchTimeout: const Duration(seconds: 10), | |
minimumFetchInterval: Duration.zero, |
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'; | |
import 'dart:math' as math; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
home: Scaffold( |
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
[ | |
{ | |
"id_post": 1, | |
"title": "title", | |
"category": { | |
"id": 1, | |
"name": "category" | |
}, | |
"id_provice": null, | |
"id_city": null, |
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
[ | |
{ | |
"id_post": 1, | |
"title": "title", | |
"category": { | |
"id": 1, | |
"name": "category" | |
}, | |
"id_provice": null, | |
"id_city": null, |
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
{ | |
"id_post": 1, | |
"title": "title", | |
"category": { | |
"id": 1, | |
"name": "category" | |
}, | |
"id_provice": null, | |
"id_city": null, | |
"id_district": null, |
NewerOlder