What do you want to save?
Add Code snippet
New code examples in category TypeScript
-
Rhoda 2021-08-27 11:57:02
Given the participants' score sheet for your University Sports Day, you are required to find the runner-up score. You are given scores. Store them in a list and find the score of the runner-up.
price=[10,20,4,5,4,6,46,43,4,64,65,8,45,55,558,15,5,4,6,5,255,5] price.sort() price.reverse() max=price[0] sec_max=price[1] print(price) print(f"the max is {max}, runner up is {sec_max}") Add solution -
SoilSciGuy 2021-08-27 10:59:01
read/write linked lists to file
#include <stdio.h> #include <stdlib.h> typedef struct Node { char name[50]; int age; struct Node *next; }Node; // user-defined functions void printPetRecord(Node *head); void writeToFile(FILE *fptr, Node *head); // main() int ma... Add solution -
Sarah Yarbrough 2021-08-27 08:46:01
/@angular/material/index.d.ts' is not a module.
It is changed in updated version of angular i think. To resolve this issue you need to downgrade the angular/material version Try to update the angular material (@angular/[email protected]) of this version. npm uninstall -g @angular/material npm cache clea... Add solution -