Skip to content

Instantly share code, notes, and snippets.

void main() {
double classAveragePoint, studentPercentage, studentPoint;
print('Enter percentage attained by student:'); // individual student's percentage
print('Enter points scored by student:'); // individual student's scored point(s)
print('Enter students\' average score:'); // (collective) average score of whole class
/*'double.parse(stdin.readLineSync())' from package 'dart:io'
* would be used if online consoles supported user input
*/
@Detective-Khalifah
Detective-Khalifah / Circle.kt
Created October 28, 2022 09:52
Stage 1 Task: Mobile
package hngi9
class Circle {
var radius: Double
var color: String
internal constructor() {
radius = 1.0
color = "red"
}